nixos-configs/hosts/chrysalis/hardware-configuration.nix

31 lines
960 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, ... }:
{
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot.initrd.availableKernelModules =
[ "ehci_pci" "ahci" "xhci_pci" "usbhid" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/52060f3c-0ebc-4acf-b13b-0792f855aa29";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/6EF2-C96B";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/c0c73073-0fd4-4621-b2b9-b40c51793801"; }];
nix.settings.max-jobs = lib.mkDefault 12;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}