summaryrefslogtreecommitdiffstats
path: root/mb/1systems/sunsh1n3/hardware-configuration.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-07-14 13:43:30 +0200
committerlassulus <lassulus@lassul.us>2019-07-14 13:43:30 +0200
commit9b0e78fcb66b0d7accf974ab4ddf8da05612c695 (patch)
treeeb41197546236a1f3c5e4efebf50c4133c8fc58f /mb/1systems/sunsh1n3/hardware-configuration.nix
parent13d8d9f7d340a64cd69957854c628dc4ca0876e6 (diff)
parent976e6d77031b9e9648789d72cf893a6d1192fedb (diff)
Merge remote-tracking branch 'mb/master'
Diffstat (limited to 'mb/1systems/sunsh1n3/hardware-configuration.nix')
-rw-r--r--mb/1systems/sunsh1n3/hardware-configuration.nix29
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 00000000..2beee7c4
--- /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";
+}