nixos/services.tarsnap: fix escapeSystemdPath (#342911)

This commit is contained in:
h7x4
2024-09-19 09:21:02 +02:00
committed by GitHub
+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}}"
'';