]> Git — Sourcephile - julm/julm-nix.git/blob - hosts/courge/backup.nix
courge: install
[julm/julm-nix.git] / hosts / courge / backup.nix
1 { pkgs, lib, hostName, ... }:
2 with builtins;
3 {
4 services.sanoid = {
5 enable = true;
6 extraArgs = [ "--verbose" ];
7 datasets = {
8 "${hostName}/root" = {
9 autosnap = true;
10 autoprune = true;
11 hourly = 12;
12 daily = 31;
13 monthly = 0;
14 yearly = 0;
15 recursive = true;
16 };
17 };
18 };
19 }