diff options
author | jeschli <jeschli@gmail.com> | 2019-07-16 19:06:14 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2019-07-16 19:06:14 +0200 |
commit | cd4f0290ed091cdae9b5d8526f4387b54e2c42dc (patch) | |
tree | 1db65f278382130f52da18aaafbc31d7d8e52376 /mb/1systems/sunsh1n3/hardware-configuration.nix | |
parent | ecb6c5fe8784de4aeceef437368cb501e1d659ce (diff) | |
parent | 3f0435e89cbdccf8ad8ab351cc3eab349c427e60 (diff) |
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'mb/1systems/sunsh1n3/hardware-configuration.nix')
-rw-r--r-- | mb/1systems/sunsh1n3/hardware-configuration.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mb/1systems/sunsh1n3/hardware-configuration.nix b/mb/1systems/sunsh1n3/hardware-configuration.nix new file mode 100644 index 000000000..2beee7c4f --- /dev/null +++ b/mb/1systems/sunsh1n3/hardware-configuration.nix @@ -0,0 +1,29 @@ +# 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 = [ "ahci" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" "rtsx_usb_sdmmc" ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/a3257922-d2d4-45ae-87cc-cc38d32e0774"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/60A6-4DAB"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 4; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} |