helm/hosts/box/hardware-configuration.nix

53 lines
1.4 KiB
Nix
Raw Permalink Normal View History

2022-04-23 21:16:17 -07:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
2022-06-12 05:31:44 -07:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2022-04-23 21:16:17 -07:00
];
2022-06-12 05:31:44 -07:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "thunderbolt" "uas" "usb_storage" "sd_mod" ];
2022-04-23 21:16:17 -07:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2022-06-12 05:31:44 -07:00
{
device = "/dev/disk/by-uuid/ade0752d-84d3-4e39-865b-9027ba2d5c67";
2022-04-23 21:16:17 -07:00
fsType = "ext4";
};
fileSystems."/boot/efi" =
2022-06-12 05:31:44 -07:00
{
device = "/dev/disk/by-uuid/1715-278E";
2022-04-23 21:16:17 -07:00
fsType = "vfat";
};
2022-06-12 05:31:44 -07:00
fileSystems."/mnt/one" =
{
device = "/dev/disk/by-uuid/0f857c6e-509d-436f-9e78-bc25f1b0d23b";
2022-04-23 21:16:17 -07:00
fsType = "ext4";
};
2022-06-12 05:31:44 -07:00
fileSystems."/mnt/two" =
{
device = "/dev/disk/by-uuid/5bc894bf-ed87-4c30-aab4-87e154e0cd08";
fsType = "ext4";
};
fileSystems."/mnt/three" =
{
device = "/dev/disk/by-uuid/0be3ded1-9c8b-40aa-94ca-dc2297d5988e";
fsType = "ext4";
};
2022-04-23 21:16:17 -07:00
swapDevices =
2022-06-12 05:31:44 -07:00
[{ device = "/dev/disk/by-uuid/b790abb4-ba5f-4476-8f09-b0fc575414aa"; }];
2022-04-23 21:16:17 -07:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2022-06-12 05:31:44 -07:00
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-04-23 21:16:17 -07:00
}