8 lines
260 B
Nix
8 lines
260 B
Nix
{ ... }: {
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
boot.zfs.devNodes = "/dev/";
|
|
services.zfs.trim.enable = true;
|
|
services.zfs.autoScrub.enable = true;
|
|
services.zfs.autoScrub.pools = [ "tank" "ssd" "hdd" ];
|
|
services.zfs.autoSnapshot.enable = true;
|
|
}
|