diff options
author | Adrian Kummerlaender | 2018-04-20 13:31:10 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-04-20 13:31:10 +0200 |
commit | 478ce7035ab7af733a0390b242affb656539f16d (patch) | |
tree | ae3c2f22d724f430a7bd34446252250c122a7616 /hardware-configuration.nix | |
download | nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar.gz nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar.bz2 nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar.lz nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar.xz nixos_system-478ce7035ab7af733a0390b242affb656539f16d.tar.zst nixos_system-478ce7035ab7af733a0390b242affb656539f16d.zip |
Start tracking system configuration
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r-- | hardware-configuration.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..3ddc0eb --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,26 @@ +# 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, ... }: + +{ + imports = + [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> + ]; + + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/cd4fe873-d75a-4810-bbc8-2dc00144619a"; + fsType = "ext4"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/4ac4ae45-de8e-4c3f-b026-0d1b70aea2e2"; } + ]; + + nix.maxJobs = lib.mkDefault 8; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} |