1
1
Fork 0

backyard: hardware changes

This commit is contained in:
Tim Van Baak 2024-11-19 05:22:50 +00:00
parent 2088630173
commit a147a638e5
1 changed files with 33 additions and 1 deletions

View File

@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
@ -21,6 +21,37 @@
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/610F-1EB7"; { device = "/dev/disk/by-uuid/610F-1EB7";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/pool/tvb" =
{ device = "pool/user/tvb";
fsType = "zfs";
};
fileSystems."/pool/tvb/doc" =
{ device = "pool/user/tvb/doc";
fsType = "zfs";
};
fileSystems."/pool/tvb/game" =
{ device = "pool/user/tvb/game";
fsType = "zfs";
};
fileSystems."/pool/tvb/video" =
{ device = "pool/user/tvb/video";
fsType = "zfs";
};
fileSystems."/pool/tvb/audio" =
{ device = "pool/user/tvb/audio";
fsType = "zfs";
};
fileSystems."/pool/tvb/image" =
{ device = "pool/user/tvb/image";
fsType = "zfs";
}; };
swapDevices = swapDevices =
@ -33,6 +64,7 @@
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true; # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.nebula.beatific.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;