diff options
author | Ben Sima <ben@bsima.me> | 2020-04-02 23:45:04 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-02 23:45:04 -0700 |
commit | 65c2b30a288385cf3df4027d50080ac595bbcf83 (patch) | |
tree | 391aa2ea046935e4bd5463abf8979633697b99f5 /Com/Simatime/Dev/hardware.nix | |
parent | 4ef954f7b3e9b5d99d1030843c2633dbd76f37c0 (diff) |
Reorganize and comment some of the nix code
Diffstat (limited to 'Com/Simatime/Dev/hardware.nix')
-rw-r--r-- | Com/Simatime/Dev/hardware.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Com/Simatime/Dev/hardware.nix b/Com/Simatime/Dev/hardware.nix new file mode 100644 index 0000000..fc0e7a0 --- /dev/null +++ b/Com/Simatime/Dev/hardware.nix @@ -0,0 +1,34 @@ +# 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" "ahci" "usbhid" "sd_mod" ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/0d8b0e52-10de-4af2-bcd9-b36278352e77"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/9B89-85C7"; + fsType = "vfat"; + }; + + fileSystems."/mnt/lake" = + { device = "/dev/disk/by-uuid/037df3ae-4609-402c-ab1d-4593190d0ee7"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 4; + powerManagement.cpuFreqGovernor = "powersave"; +} |