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:
parent
b1bfb4ddf0
commit
93d20b13a0
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue