nixos/services.tarsnap: fix escapeSystemdPath invocation

This commit is contained in:
Ashish SHUKLA
2024-09-19 00:12:13 +00:00
parent 99dc8785f6
commit f6e2fb5e11
+1 -1
View File
@@ -87,7 +87,7 @@ in
cachedir = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = "/var/cache/tarsnap/${utils.lib.escapeSystemdPath config.keyfile}";
default = "/var/cache/tarsnap/${utils.escapeSystemdPath config.keyfile}";
defaultText = lib.literalExpression ''
"/var/cache/tarsnap/''${utils.escapeSystemdPath config.${options.keyfile}}"
'';