From f6e2fb5e11f411c56b2076e27d270f2cabf80f40 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Wed, 18 Sep 2024 23:50:19 +0000 Subject: [PATCH] nixos/services.tarsnap: fix escapeSystemdPath invocation --- nixos/modules/services/backup/tarsnap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/tarsnap.nix b/nixos/modules/services/backup/tarsnap.nix index ef531a0707c5..43493997931c 100644 --- a/nixos/modules/services/backup/tarsnap.nix +++ b/nixos/modules/services/backup/tarsnap.nix @@ -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}}" '';