about summary refs log tree commit diff
path: root/users/fcuny/desktop
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-13 16:08:55 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-13 16:08:55 -0800
commit9d4053fd3c9c6569013f6de3cf7f2b7b8eced9b0 (patch)
tree46d5ca8687ec0945122e287933168a1880c4b2e4 /users/fcuny/desktop
parentpassword-store: set location in the environment (diff)
downloadworld-9d4053fd3c9c6569013f6de3cf7f2b7b8eced9b0.tar.gz
password-store: use the correct variable
Diffstat (limited to 'users/fcuny/desktop')
-rw-r--r--users/fcuny/desktop/trust/pass.nix4
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";
     };