From 93d20b13a018f3fdb5c8e37102b09552c31432b1 Mon Sep 17 00:00:00 2001 From: Cynthia Fox Date: Sun, 7 May 2023 15:56:37 -0400 Subject: [PATCH] pass-secret-service: Revert `storePath` change Signed-off-by: Cynthia Fox --- modules/services/pass-secret-service.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/pass-secret-service.nix b/modules/services/pass-secret-service.nix index 78a0d88e2..40f5727af 100644 --- a/modules/services/pass-secret-service.nix +++ b/modules/services/pass-secret-service.nix @@ -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; };