1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 15:09:46 +01:00

pass-secret-service: Revert storePath change

Signed-off-by: Cynthia Fox <cyntheticfox@gh0st.sh>
This commit is contained in:
Cynthia Fox 2023-05-07 15:56:37 -04:00
parent b1bfb4ddf0
commit 93d20b13a0
No known key found for this signature in database
GPG key ID: 5960278CE235F821

View file

@ -15,8 +15,8 @@ in {
package = mkPackageOption pkgs "pass-secret-service" { }; package = mkPackageOption pkgs "pass-secret-service" { };
storePath = mkOption { storePath = mkOption {
type = types.str; type = with types; nullOr str;
default = ""; default = null;
defaultText = "$HOME/.password-store"; defaultText = "$HOME/.password-store";
example = "/home/user/.local/share/password-store"; example = "/home/user/.local/share/password-store";
description = '' description = ''
@ -52,7 +52,7 @@ in {
Service = { Service = {
Type = "dbus"; Type = "dbus";
ExecStart = "${binPath} ${ ExecStart = "${binPath} ${
optionalString (cfg.storePath != "") "--path ${cfg.storePath}" optionalString (cfg.storePath != null) "--path ${cfg.storePath}"
}"; }";
BusName = busName; BusName = busName;
}; };