diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-13 16:08:55 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-13 16:08:55 -0800 |
commit | 9d4053fd3c9c6569013f6de3cf7f2b7b8eced9b0 (patch) | |
tree | 46d5ca8687ec0945122e287933168a1880c4b2e4 /users/fcuny | |
parent | password-store: set location in the environment (diff) | |
download | world-9d4053fd3c9c6569013f6de3cf7f2b7b8eced9b0.tar.gz |
password-store: use the correct variable
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/desktop/trust/pass.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/fcuny/desktop/trust/pass.nix b/users/fcuny/desktop/trust/pass.nix index 4273e40..9268c76 100644 --- a/users/fcuny/desktop/trust/pass.nix +++ b/users/fcuny/desktop/trust/pass.nix @@ -13,11 +13,11 @@ "man:pass(1)" "https://git.fcuny.net/fcuny/password-store" ]; - ConditionPathIsDirectory = "${config.programs.password-store.service.PASSWORD_STORE_DIR}/.git"; + ConditionPathIsDirectory = "${config.programs.password-store.settings.PASSWORD_STORE_DIR}/.git"; }; Service = { Type = "oneshot"; - Environment = "PASSWORD_STORE_DIR=${config.programs.password-store.service.PASSWORD_STORE_DIR}"; + Environment = "PASSWORD_STORE_DIR=${config.programs.password-store.settings.PASSWORD_STORE_DIR}"; WorkingDirectory = config.programs.password-store.settings.PASSWORD_STORE_DIR; ExecStart = "${pkgs.git}/bin/git push origin %H"; }; |