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

@ -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";