Loading nixos/modules/services/backup/borgbackup.nix +10 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ let ${mkKeepArgs cfg} \ ${optionalString (cfg.prune.prefix != null) "--glob-archives ${escapeShellArg "${cfg.prune.prefix}*"}"} \ $extraPruneArgs borg compact $extraArgs $extraCompactArgs ${cfg.postPrune} ''); Loading Loading @@ -638,6 +639,15 @@ in { example = "--save-space"; }; extraCompactArgs = mkOption { type = types.str; description = lib.mdDoc '' Additional arguments for {command}`borg compact`. Can also be set at runtime using `$extraCompactArgs`. ''; default = ""; example = "--cleanup-commits"; }; }; } )); Loading Loading
nixos/modules/services/backup/borgbackup.nix +10 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,7 @@ let ${mkKeepArgs cfg} \ ${optionalString (cfg.prune.prefix != null) "--glob-archives ${escapeShellArg "${cfg.prune.prefix}*"}"} \ $extraPruneArgs borg compact $extraArgs $extraCompactArgs ${cfg.postPrune} ''); Loading Loading @@ -638,6 +639,15 @@ in { example = "--save-space"; }; extraCompactArgs = mkOption { type = types.str; description = lib.mdDoc '' Additional arguments for {command}`borg compact`. Can also be set at runtime using `$extraCompactArgs`. ''; default = ""; example = "--cleanup-commits"; }; }; } )); Loading