23 lines
354 B
Nix
23 lines
354 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
# set network host id
|
|
networking.hostId = "3e6e7055";
|
|
|
|
# enable zfs support
|
|
boot.kernelModules = [ "zfs" ];
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
|
|
# enable smart monitoring
|
|
services.smartd.enable = true;
|
|
|
|
# enable zfs
|
|
services.zfs = {
|
|
autoScrub.enable = true;
|
|
autoScrub.interval = "weekly";
|
|
|
|
};
|
|
|
|
}
|