Scrub zpool monthly
This commit is contained in:
parent
99f55ff4ff
commit
9aa4f91d33
|
@ -22,10 +22,6 @@
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable zfs support
|
|
||||||
networking.hostId = "bb26c304";
|
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
|
||||||
|
|
||||||
# File systems configuration for using the installer's partition layout
|
# File systems configuration for using the installer's partition layout
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
@ -63,10 +59,17 @@
|
||||||
time.timeZone = "Europe/Brussels";
|
time.timeZone = "Europe/Brussels";
|
||||||
services.timesyncd.enable = true;
|
services.timesyncd.enable = true;
|
||||||
|
|
||||||
|
# Enable zfs support
|
||||||
|
networking.hostId = "bb26c304";
|
||||||
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
|
|
||||||
|
# Scrub zpool monthly
|
||||||
|
services.zfs.autoScrub.enable = true;
|
||||||
|
services.zfs.autoScrub.interval = "monthly";
|
||||||
|
|
||||||
# Auto-upgrade the system and reboot if needed
|
# Auto-upgrade the system and reboot if needed
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
system.autoUpgrade.allowReboot = true;
|
system.autoUpgrade.allowReboot = true;
|
||||||
|
|
||||||
|
|
||||||
# Import other configuration modules
|
# Import other configuration modules
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue