1
0

hardware.nix 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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/b00d21c1-7c72-4478-8a78-e5204e24d27c";
  15. fsType = "btrfs";
  16. options = [ "subvol=@" ];
  17. };
  18. fileSystems."/home" =
  19. { device = "/dev/disk/by-uuid/b00d21c1-7c72-4478-8a78-e5204e24d27c";
  20. fsType = "btrfs";
  21. options = [ "subvol=@home" ];
  22. };
  23. fileSystems."/boot" =
  24. { device = "/dev/disk/by-uuid/C90B-4ED2";
  25. fsType = "vfat";
  26. options = [ "fmask=0077" "dmask=0077" ];
  27. };
  28. fileSystems."/nvme" =
  29. { device = "/dev/disk/by-uuid/aa535a01-d005-4fd2-9e95-3787ce33b6f3";
  30. fsType = "btrfs";
  31. options = [ "defaults" "nofail" ];
  32. };
  33. fileSystems."/hdd" =
  34. { device = "/dev/disk/by-uuid/995f3a39-f893-497d-bc2a-c0cb1f4c913c";
  35. fsType = "ext4";
  36. options = [ "defaults" "nofail" ];
  37. };
  38. swapDevices = [ ];
  39. nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
  40. hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
  41. }