nixos-config/hosts/ni/hardware-configuration.nix

29 lines
756 B
Nix
Raw Normal View History

# 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 = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
2021-12-26 10:43:49 +00:00
label = "root";
fsType = "ext4";
};
fileSystems."/boot" = {
2021-12-26 10:43:49 +00:00
label = "boot";
fsType = "vfat";
};
swapDevices = [{ label = "swap"; }];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}