From 9d4053fd3c9c6569013f6de3cf7f2b7b8eced9b0 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 13 Feb 2022 16:08:55 -0800 Subject: password-store: use the correct variable --- users/fcuny/desktop/trust/pass.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/fcuny') 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"; }; -- cgit 1.4.1