hardware-configuration.nix 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
  10. boot.initrd.kernelModules = [ ];
  11. boot.kernelModules = [ "kvm-amd" ];
  12. boot.extraModulePackages = [ ];
  13. fileSystems."/" =
  14. { device = "/dev/disk/by-uuid/40f01d77-f742-494a-bd9d-05c691619578";
  15. fsType = "btrfs";
  16. options = [ "subvol=@" ];
  17. };
  18. fileSystems."/home" =
  19. { device = "/dev/disk/by-uuid/40f01d77-f742-494a-bd9d-05c691619578";
  20. fsType = "btrfs";
  21. options = [ "subvol=@home" ];
  22. };
  23. fileSystems."/boot" =
  24. { device = "/dev/disk/by-uuid/DC2D-30C4";
  25. fsType = "vfat";
  26. options = [ "fmask=0077" "dmask=0077" ];
  27. };
  28. fileSystems."/hdd" =
  29. { device = "/dev/disk/by-uuid/995f3a39-f893-497d-bc2a-c0cb1f4c913c";
  30. fsType = "ext4";
  31. };
  32. fileSystems."/nix" =
  33. { device = "/dev/disk/by-uuid/08162bfa-f48f-4b7c-8bf0-2a38e92810de";
  34. fsType = "btrfs";
  35. };
  36. fileSystems."/nvme" =
  37. { device = "/dev/disk/by-uuid/aa535a01-d005-4fd2-9e95-3787ce33b6f3";
  38. fsType = "btrfs";
  39. };
  40. fileSystems."/storage" =
  41. { device = "/dev/disk/by-uuid/6f208e9e-ec40-4107-803d-d8f381a31e40";
  42. fsType = "btrfs";
  43. };
  44. swapDevices = [ ];
  45. nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  46. hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
  47. }