mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 00:18:59 +00:00
hosts/ni/services/backup: update Disko and snapper config
This commit is contained in:
parent
e1be6b4d04
commit
4b63b7d679
@ -60,6 +60,16 @@
|
||||
mountpoint = "/gnu";
|
||||
};
|
||||
})
|
||||
|
||||
(lib.mkIf (config.services.snapper.configs != {}) {
|
||||
"/home/.snapshots" = {
|
||||
mountOptions = [ "compress=zstd" ];
|
||||
};
|
||||
|
||||
"/.snapshots" = {
|
||||
mountOptions = [ "compress=zstd" ];
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -124,6 +124,14 @@ in {
|
||||
TIMELINE_LIMIT_WEEKLY = 12;
|
||||
};
|
||||
};
|
||||
|
||||
filters = ''
|
||||
/tmp
|
||||
/var/tmp
|
||||
/var/log
|
||||
/var/lib/libvirt/images
|
||||
/srv
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user