diff --git a/modules/nixos/services/base/default.nix b/modules/nixos/services/base/default.nix index ab786c7..a6f6750 100644 --- a/modules/nixos/services/base/default.nix +++ b/modules/nixos/services/base/default.nix @@ -89,7 +89,6 @@ in # powerManagement.cpuFreqGovernor = "ondemand"; services = { - btrfs.autoScrub.enable = true; dbus.implementation = "broker"; dbus.packages = [ pkgs.gcr ]; fwupd.enable = true; diff --git a/systems/x86_64-linux/sgx/hardware-configuration.nix b/systems/x86_64-linux/sgx/hardware-configuration.nix index 0afa72d..c776203 100644 --- a/systems/x86_64-linux/sgx/hardware-configuration.nix +++ b/systems/x86_64-linux/sgx/hardware-configuration.nix @@ -16,6 +16,8 @@ boot.blacklistedKernelModules = [ "iwlwifi" "snd_hda_intel" "hdaudio" "btintel" "bluetooth" ]; boot.extraModprobeConfig = "options kvm_intel nested=1"; + services.btrfs.autoScrub.enable = true; + fileSystems."/" = { device = "/dev/disk/by-uuid/7aa17b01-785e-41c6-9723-79195af906c6"; diff --git a/systems/x86_64-linux/x1/hardware-configuration.nix b/systems/x86_64-linux/x1/hardware-configuration.nix index 0b8ffac..ce95bfa 100644 --- a/systems/x86_64-linux/x1/hardware-configuration.nix +++ b/systems/x86_64-linux/x1/hardware-configuration.nix @@ -21,6 +21,8 @@ boot.extraModulePackages = [ ]; + services.btrfs.autoScrub.enable = true; + fileSystems."/" = { device = "/dev/disk/by-uuid/1106202c-c3bf-4c15-b7cd-e78749e5c955";