1
0

hardware.nix 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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" "nvme" "usb_storage" "sd_mod" ];
  10. boot.initrd.kernelModules = [ ];
  11. boot.kernelModules = [ "kvm-intel" ];
  12. boot.extraModulePackages = [ ];
  13. fileSystems."/" =
  14. { device = "/dev/disk/by-uuid/91e157c0-f607-491d-93ad-4a00f08ae338";
  15. fsType = "btrfs";
  16. };
  17. fileSystems."/home" =
  18. { device = "/dev/disk/by-uuid/91e157c0-f607-491d-93ad-4a00f08ae338";
  19. fsType = "btrfs";
  20. options = [ "subvol=home" ];
  21. };
  22. fileSystems."/nix" =
  23. { device = "/dev/disk/by-uuid/91e157c0-f607-491d-93ad-4a00f08ae338";
  24. fsType = "btrfs";
  25. options = [ "subvol=nix" ];
  26. };
  27. fileSystems."/boot" =
  28. { device = "/dev/disk/by-uuid/0996-8DC7";
  29. fsType = "vfat";
  30. options = [ "fmask=0077" "dmask=0077" ];
  31. };
  32. swapDevices =
  33. [ { device = "/dev/disk/by-uuid/b0e53493-71b7-4adc-bc9a-37c16ed9672b"; }
  34. ];
  35. nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  36. hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
  37. }