aboutsummaryrefslogtreecommitdiffstats
path: root/modules/office
diff options
context:
space:
mode:
Diffstat (limited to 'modules/office')
-rw-r--r--modules/office/calcurse/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/office/calcurse/default.nix b/modules/office/calcurse/default.nix
index 0a4acba..2f86500 100644
--- a/modules/office/calcurse/default.nix
+++ b/modules/office/calcurse/default.nix
@@ -125,7 +125,7 @@ in
tag.gpgSign = false;
}
// lib.optionalAttrs (config.office.calcurse.sync.credential.passwordGopassPath != null) {
- credential.helper = "!f() { echo username=${lib.escapeShellArg config.office.calcurse.sync.credential.username}; echo password=\"$(${config.security.gopass.package}/bin/gopass show -o ${lib.escapeShellArg config.office.calcurse.sync.credential.passwordGopassPath})\"; }; f";
+ credential.helper = "!f() { echo username=${lib.escapeShellArg config.office.calcurse.sync.credential.username}; echo password=\"$(${lib.getExe config.security.gopass.package} show -o ${lib.escapeShellArg config.office.calcurse.sync.credential.passwordGopassPath})\"; }; f";
};
}
];