diff options
Diffstat (limited to 'odin.nix')
-rw-r--r-- | odin.nix | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -11,6 +11,7 @@ | |||
11 | ./users.nix | 11 | ./users.nix |
12 | ./custom/uucp.nix | 12 | ./custom/uucp.nix |
13 | ./custom/uucp-mediaserver.nix | 13 | ./custom/uucp-mediaserver.nix |
14 | ./custom/lvm-snapshots.nix | ||
14 | ]; | 15 | ]; |
15 | 16 | ||
16 | # Use the GRUB 2 boot loader. | 17 | # Use the GRUB 2 boot loader. |
@@ -147,6 +148,15 @@ | |||
147 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; | 148 | networks = ["127.0.0.0/8" "[::ffff:127.0.0.0]/104" "[::1]/128" "10.141.0.0/16"]; |
148 | }; | 149 | }; |
149 | 150 | ||
151 | services.lvm-snapshots = { | ||
152 | snapshots = { | ||
153 | snapshot-mail = { | ||
154 | LV = "mail"; | ||
155 | VG = "raid6"; | ||
156 | }; | ||
157 | }; | ||
158 | }; | ||
159 | |||
150 | system.autoUpgrade.enable = true; | 160 | system.autoUpgrade.enable = true; |
151 | system.stateVersion = "18.09"; | 161 | system.stateVersion = "18.09"; |
152 | 162 | ||