cleanup more hardware stuff

This commit is contained in:
Christoph Cullmann 2024-10-10 21:59:50 +02:00
parent 8f0a0e82c8
commit 2863241423
No known key found for this signature in database
4 changed files with 21 additions and 18 deletions

View file

@ -10,6 +10,12 @@
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [ "kvm-intel" ];
# Intel microcode updates please
hardware.cpu.intel.updateMicrocode = true;
# intel graphics
hardware.graphics.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
# /boot efi partition to boot in UEFI mode
fileSystems."/boot" =
{ device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part1";
@ -17,10 +23,4 @@
options = [ "fmask=0022" "dmask=0022" ];
neededForBoot = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# intel graphics
hardware.graphics.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
}