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