diff --git a/hosts/Drone/default.nix b/hosts/Drone/default.nix index fba61ba..7208c4e 100755 --- a/hosts/Drone/default.nix +++ b/hosts/Drone/default.nix @@ -22,6 +22,16 @@ "/swap".options = [ "noatime" ]; }; + services.btrfs.autoScrub = { + enable = true; + fileSystems = [ "/" ]; + }; + + swapDevices = [{ + device = "/swap/swapfile"; + size = 8192; + }]; + # config for ZFS external storage boot.supportedFilesystems = [ "zfs" ]; networking.hostId = "58bae81c"; @@ -52,11 +62,6 @@ services.zfs.autoScrub.enable = true; - swapDevices = [{ - device = "/swap/swapfile"; - size = 8192; - }]; - networking = { hostName = "${hostName}"; firewall = lib.mkForce {