This commit is contained in:
Motiejus Jakštys 2023-04-05 08:32:37 +03:00
parent 4aa5443e9a
commit a7639b0d31
2 changed files with 38 additions and 36 deletions

View File

@ -237,7 +237,8 @@ in {
extraArgs = ["--verbose"];
};
borgbackup.jobs = lib.mapAttrs' (name: value: let
borgbackup.jobs =
lib.mapAttrs' (name: value: let
snapshot = {
mountpoint = value.mountpoint;
zfs_name = value.zfs_name;
@ -270,7 +271,8 @@ in {
// lib.optionalAttrs (value ? patterns) {
patterns = value.patterns;
};
}) backup_paths;
})
backup_paths;
headscale = {
enable = true;