profiles/opal/hardware-configuration.nix (view raw)
1{ config
2, lib
3, modulesPath
4, ...
5}:
6{
7 imports = [
8 (modulesPath + "/installer/scan/not-detected.nix")
9 ];
10
11 boot.initrd.availableKernelModules = [
12 "xhci_pci"
13 "thunderbolt"
14 "nvme"
15 ];
16 boot.initrd.kernelModules = [ ];
17 boot.kernelModules = [ "kvm-intel" ];
18 boot.extraModulePackages = [ ];
19
20 fileSystems."/" = {
21 device = "/dev/disk/by-uuid/13f110b2-0cb6-4f22-a3c1-5d764d0ba9f7";
22 fsType = "ext4";
23 };
24
25 fileSystems."/boot" = {
26 device = "/dev/disk/by-uuid/60C6-4ADE";
27 fsType = "vfat";
28 };
29
30 swapDevices = [{ device = "/dev/disk/by-uuid/7919a726-42b5-4b5d-b8f5-7f556049ebc1"; }];
31
32 networking.useDHCP = lib.mkDefault true;
33
34 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
35 powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
36 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
37}