From 478ce7035ab7af733a0390b242affb656539f16d Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 20 Apr 2018 13:31:10 +0200 Subject: Start tracking system configuration --- hardware-configuration.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hardware-configuration.nix (limited to 'hardware-configuration.nix') 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 = + [ + ]; + + 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"; +} -- cgit v1.2.3