mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
pass-secret-service: Revert storePath
change
Signed-off-by: Cynthia Fox <cyntheticfox@gh0st.sh>
This commit is contained in:
parent
b1bfb4ddf0
commit
93d20b13a0
1 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@ in {
|
|||
package = mkPackageOption pkgs "pass-secret-service" { };
|
||||
|
||||
storePath = mkOption {
|
||||
type = types.str;
|
||||
default = "";
|
||||
type = with types; nullOr str;
|
||||
default = null;
|
||||
defaultText = "$HOME/.password-store";
|
||||
example = "/home/user/.local/share/password-store";
|
||||
description = ''
|
||||
|
@ -52,7 +52,7 @@ in {
|
|||
Service = {
|
||||
Type = "dbus";
|
||||
ExecStart = "${binPath} ${
|
||||
optionalString (cfg.storePath != "") "--path ${cfg.storePath}"
|
||||
optionalString (cfg.storePath != null) "--path ${cfg.storePath}"
|
||||
}";
|
||||
BusName = busName;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue