ilias-hardware.nix (1076B)
1 { config, lib, modulesPath, ... }: 2 3 { 4 imports = 5 [ (modulesPath + "/installer/scan/not-detected.nix") 6 ]; 7 8 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; 9 boot.initrd.kernelModules = [ ]; 10 boot.kernelModules = [ "kvm-intel" ]; 11 boot.extraModulePackages = [ ]; 12 13 fileSystems."/" = 14 { device = "/dev/disk/by-uuid/8018d8fb-dffe-40a2-b5f9-500000b24c36"; 15 fsType = "ext4"; 16 }; 17 18 fileSystems."/boot" = 19 { device = "/dev/disk/by-uuid/EE4D-E953"; 20 fsType = "vfat"; 21 options = [ "fmask=0077" "dmask=0077" ]; 22 }; 23 24 swapDevices = 25 [ { device = "/dev/disk/by-uuid/3397e636-91db-44ae-9572-923e4b3acbbe"; } 26 ]; 27 28 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 29 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 30 31 # Bootloader 32 boot.loader.systemd-boot.enable = true; 33 boot.loader.efi.canTouchEfiVariables = true; 34 35 # Networking, use DHCP 36 networking.networkmanager.enable = true; 37 networking.useDHCP = lib.mkDefault true; 38 39 }