From 8af23590d3b1e9f29cee0f7a3503c382e663e388 Mon Sep 17 00:00:00 2001 From: Sophie Tauchert Date: Fri, 12 May 2023 21:01:14 +0200 Subject: [PATCH] nixos/borgbackup: fix extraCompactArgs Fixes the extraCompactArgs introduced with #224072 as the variable currently isn't added to the script's environment. --- nixos/modules/services/backup/borgbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix index 08a2967e9c7f..0da70112d48d 100644 --- a/nixos/modules/services/backup/borgbackup.nix +++ b/nixos/modules/services/backup/borgbackup.nix @@ -109,7 +109,7 @@ let }; environment = { BORG_REPO = cfg.repo; - inherit (cfg) extraArgs extraInitArgs extraCreateArgs extraPruneArgs; + inherit (cfg) extraArgs extraInitArgs extraCreateArgs extraPruneArgs extraCompactArgs; } // (mkPassEnv cfg) // cfg.environment; };