diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 16:43:09 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 16:43:09 +0200 |
commit | 0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a (patch) | |
tree | c1963437bdd799c0ecc412c55deb52c7beb0bd46 | |
parent | 47d0f0aaf0147dcd86f6edd3ff0a318d7648ac6d (diff) | |
download | nixos-0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a.tar nixos-0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a.tar.gz nixos-0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a.tar.bz2 nixos-0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a.tar.xz nixos-0c3460e28f0ca9e825c40fb891ada8aa6bb00b8a.zip |
…
-rw-r--r-- | odin.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -162,12 +162,14 @@ | |||
162 | { VG = "ssd-raid1"; LV = "root"; } | 162 | { VG = "ssd-raid1"; LV = "root"; } |
163 | ]; | 163 | ]; |
164 | 164 | ||
165 | prune = lib.genAttrs (name: [ | 165 | prune = lib.genAttrs |
166 | ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "ssd-raid1/root"] | ||
167 | (name: [ | ||
166 | "--keep-within 24H" | 168 | "--keep-within 24H" |
167 | "--keep-daily 31" | 169 | "--keep-daily 31" |
168 | "--keep-monthly 12" | 170 | "--keep-monthly 12" |
169 | "--keep-yearly -1" | 171 | "--keep-yearly -1" |
170 | ]) ["raid6/mail" "raid6/home" "raid6/media" "raid6/root" "ssd-raid1/root"]; | 172 | ]); |
171 | }; | 173 | }; |
172 | }; | 174 | }; |
173 | }; | 175 | }; |