nix-config/hosts/glotzbert/hardware-configuration.nix

28 lines
815 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.
2020-08-04 17:15:07 +02:00
{ config, lib, pkgs, modulesPath, ... }:
{
2020-08-04 17:15:07 +02:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2020-06-19 18:12:42 +02:00
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2020-06-19 18:12:42 +02:00
{ device = "/dev/disk/by-uuid/3a8ddd25-0c5d-4fec-b957-bdcea1c52db4";
fsType = "ext4";
};
fileSystems."/boot" =
2020-06-19 18:12:42 +02:00
{ device = "/dev/disk/by-uuid/6490-45A0";
fsType = "vfat";
};
2020-06-19 18:12:42 +02:00
swapDevices = [ ];
2020-06-19 18:12:42 +02:00
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}