about summary refs log tree commit diff
path: root/users/fcuny/desktop/trust
diff options
context:
space:
mode:
Diffstat (limited to '')
-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";
     };