hardware.nix 974 B

12345678910111213141516171819202122232425262728293031
  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. imports =
  7. [ (modulesPath + "/installer/scan/not-detected.nix")
  8. ];
  9. boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
  10. boot.initrd.kernelModules = [ ];
  11. boot.kernelModules = [ "kvm-intel" ];
  12. boot.extraModulePackages = [ ];
  13. fileSystems."/" =
  14. { device = "/dev/disk/by-uuid/3f914128-2e08-4080-b1bb-d7ddf9ef647a";
  15. fsType = "ext4";
  16. };
  17. fileSystems."/boot" =
  18. { device = "/dev/disk/by-uuid/5414-7CFE";
  19. fsType = "vfat";
  20. options = [ "fmask=0077" "dmask=0077" ];
  21. };
  22. swapDevices = [ ];
  23. nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  24. hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
  25. }