Scrub zpool monthly

This commit is contained in:
coolneng 2019-10-18 00:31:34 +02:00
parent 99f55ff4ff
commit 9aa4f91d33
1 changed files with 8 additions and 5 deletions

View File

@ -22,10 +22,6 @@
git
];
# Enable zfs support
networking.hostId = "bb26c304";
boot.supportedFilesystems = [ "zfs" ];
# File systems configuration for using the installer's partition layout
fileSystems = {
"/" = {
@ -63,10 +59,17 @@
time.timeZone = "Europe/Brussels";
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
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = true;
# Import other configuration modules
}