2023-01-15 18:56:16 +01:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2023-09-17 15:57:39 +02:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-01-15 18:56:16 +01:00
|
|
|
|
|
2023-07-28 17:36:50 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" ];
|
2023-06-09 18:28:17 +02:00
|
|
|
|
boot.initrd.kernelModules = [ "i915" ];
|
2023-01-15 18:56:16 +01:00
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
2024-08-19 23:11:31 +02:00
|
|
|
|
# /boot efi partition to boot in UEFI mode
|
2023-01-15 18:56:16 +01:00
|
|
|
|
fileSystems."/boot" =
|
2024-01-11 18:33:21 +01:00
|
|
|
|
{ device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part1";
|
2023-01-15 18:56:16 +01:00
|
|
|
|
fsType = "vfat";
|
2024-08-19 23:11:31 +02:00
|
|
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
2024-01-11 18:33:21 +01:00
|
|
|
|
neededForBoot = true;
|
2023-01-15 18:56:16 +01:00
|
|
|
|
};
|
2024-05-30 11:18:56 +02:00
|
|
|
|
|
2023-01-15 18:56:16 +01:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2024-07-04 18:44:40 +02:00
|
|
|
|
|
|
|
|
|
# intel graphics
|
|
|
|
|
hardware.graphics.extraPackages = with pkgs; [ intel-media-driver intel-compute-runtime ];
|
2023-01-15 18:56:16 +01:00
|
|
|
|
}
|