nixos-configuration/hardware/hardware-configuration-desktop.nix

33 lines
969 B
Nix
Raw Normal View History

2020-05-30 14:07:02 +02: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.
2020-11-28 13:00:00 +01:00
{ config, lib, pkgs, modulesPath, ... }:
2020-05-30 14:07:02 +02:00
{
imports =
2020-11-28 13:00:00 +01:00
[ (modulesPath + "/installer/scan/not-detected.nix")
2020-05-30 14:07:02 +02:00
];
2020-11-28 13:00:00 +01:00
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
2020-05-30 14:07:02 +02:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2020-11-28 13:00:00 +01:00
{ device = "/dev/disk/by-uuid/35f68af7-92fe-41ed-9338-8766ad7fbd5f";
2020-05-30 14:07:02 +02:00
fsType = "ext4";
};
fileSystems."/boot" =
2020-11-28 13:00:00 +01:00
{ device = "/dev/disk/by-uuid/3D7B-15B2";
2020-05-30 14:07:02 +02:00
fsType = "vfat";
};
swapDevices =
2020-11-28 13:00:00 +01:00
[ { device = "/dev/disk/by-uuid/c1bdaad5-2080-4e08-b37f-cd74e5edc734"; }
2020-05-30 14:07:02 +02:00
];
nix.maxJobs = lib.mkDefault 8;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}