move btrfs.autoScrub.enable to hardware-configuration.nix

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-11 16:51:36 +01:00
parent ffedb0821b
commit b6acf6a941
3 changed files with 4 additions and 1 deletions

View file

@ -89,7 +89,6 @@ in
# powerManagement.cpuFreqGovernor = "ondemand"; # powerManagement.cpuFreqGovernor = "ondemand";
services = { services = {
btrfs.autoScrub.enable = true;
dbus.implementation = "broker"; dbus.implementation = "broker";
dbus.packages = [ pkgs.gcr ]; dbus.packages = [ pkgs.gcr ];
fwupd.enable = true; fwupd.enable = true;

View file

@ -16,6 +16,8 @@
boot.blacklistedKernelModules = [ "iwlwifi" "snd_hda_intel" "hdaudio" "btintel" "bluetooth" ]; boot.blacklistedKernelModules = [ "iwlwifi" "snd_hda_intel" "hdaudio" "btintel" "bluetooth" ];
boot.extraModprobeConfig = "options kvm_intel nested=1"; boot.extraModprobeConfig = "options kvm_intel nested=1";
services.btrfs.autoScrub.enable = true;
fileSystems."/" = fileSystems."/" =
{ {
device = "/dev/disk/by-uuid/7aa17b01-785e-41c6-9723-79195af906c6"; device = "/dev/disk/by-uuid/7aa17b01-785e-41c6-9723-79195af906c6";

View file

@ -21,6 +21,8 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
services.btrfs.autoScrub.enable = true;
fileSystems."/" = fileSystems."/" =
{ {
device = "/dev/disk/by-uuid/1106202c-c3bf-4c15-b7cd-e78749e5c955"; device = "/dev/disk/by-uuid/1106202c-c3bf-4c15-b7cd-e78749e5c955";