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

29 lines
811 B
Nix
Raw Permalink 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") ];
2021-02-22 11:45:12 +01:00
boot.initrd.availableKernelModules =
[ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
2020-06-19 18:12:42 +02:00
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2021-02-22 11:45:12 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/3a8ddd25-0c5d-4fec-b957-bdcea1c52db4";
fsType = "ext4";
};
2021-02-22 11:45:12 +01:00
fileSystems."/boot" = {
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";
}