/ hardware-configuration.nix
hardware-configuration.nix
 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  { config, lib, pkgs, modulesPath, ... }:
 5  
 6  {
 7    imports =
 8      [ (modulesPath + "/installer/scan/not-detected.nix")
 9      ];
10  
11    boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "uas" "sd_mod" ];
12    boot.initrd.kernelModules = [ ];
13    boot.kernelModules = [ "kvm-intel" ];
14    boot.extraModulePackages = [ ];
15  
16    fileSystems."/" =
17      { device = "/dev/disk/by-uuid/a4a955e5-9f7a-4d81-a602-315da80c4b79";
18        fsType = "ext4";
19      };
20  
21    fileSystems."/boot" =
22      { device = "/dev/disk/by-uuid/C76E-F017";
23        fsType = "vfat";
24        options = [ "fmask=0077" "dmask=0077" ];
25      };
26  
27    swapDevices = [ ];
28  
29    nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
30    hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
31  }