Repartition and reinstall alpheratz
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
with lib; let
|
||||
cfg = config.simmer.backup;
|
||||
compression = if (cfg.compression == "zstd") then "auto,zstd,3" else "auto,lzma";
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
@@ -20,7 +21,7 @@ in
|
||||
passCommand = "cat ${cfg.passphrase}";
|
||||
};
|
||||
environment.BORG_RSH = "ssh -i ${cfg.key}";
|
||||
compression = "auto,lzma";
|
||||
compression = compression;
|
||||
startAt = cfg.repeat;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user