diff options
author | tv <tv@krebsco.de> | 2019-08-02 17:04:39 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-02 17:04:39 +0200 |
commit | fa2d8e61f87aab361725ec1de28135b9f1640843 (patch) | |
tree | ae5dad07f26a647f8fe569474d875fa58e11aecf /mb/1systems/sunsh1n3/hardware-configuration.nix | |
parent | a191e11b65af72623a62df2248e5207cc266a340 (diff) | |
parent | 1bfd05c2feb4bdffb2410b608b70e055d0d83a89 (diff) |
Merge remote-tracking branch 'prism/master'
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 0000000..2beee7c --- /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"; +} |