hardware-configuration.nix (1414B)
1 # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 # and may be overwritten by future invocations. Please make changes 3 # to /etc/nixos/configuration.nix instead. 4 { 5 config, 6 lib, 7 pkgs, 8 modulesPath, 9 ... 10 }: { 11 imports = [ 12 (modulesPath + "/installer/scan/not-detected.nix") 13 ]; 14 15 boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod"]; 16 boot.initrd.kernelModules = []; 17 boot.kernelModules = ["kvm-intel"]; 18 boot.extraModulePackages = []; 19 20 fileSystems."/" = { 21 device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; 22 fsType = "btrfs"; 23 options = ["subvol=root"]; 24 }; 25 26 fileSystems."/nix" = { 27 device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; 28 fsType = "btrfs"; 29 options = ["subvol=nix"]; 30 }; 31 32 fileSystems."/swap" = { 33 device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; 34 fsType = "btrfs"; 35 options = ["subvol=swap"]; 36 }; 37 38 fileSystems."/home" = { 39 device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; 40 fsType = "btrfs"; 41 options = ["subvol=home"]; 42 }; 43 44 fileSystems."/boot" = { 45 device = "/dev/disk/by-uuid/7498-1041"; 46 fsType = "vfat"; 47 options = ["fmask=0022" "dmask=0022"]; 48 }; 49 50 swapDevices = []; 51 52 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 53 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 54 }