summaryrefslogtreecommitdiffstats
path: root/mb/1systems/p1nk/hardware-configuration.nix
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2019-04-28 15:05:34 +0200
committerjeschli <jeschli@gmail.com>2019-04-28 15:05:34 +0200
commite45b3492b3961685936378a160adb225789e51d9 (patch)
treecc0480e485ab78d1f52f80ec36987b9a57e925f7 /mb/1systems/p1nk/hardware-configuration.nix
parent97d4f9a771a9bbb1b45085569028db2d7dfbd610 (diff)
parent915e4b843790d3e71bdccea124d4832ca042e456 (diff)
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'mb/1systems/p1nk/hardware-configuration.nix')
-rw-r--r--mb/1systems/p1nk/hardware-configuration.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/mb/1systems/p1nk/hardware-configuration.nix b/mb/1systems/p1nk/hardware-configuration.nix
new file mode 100644
index 000000000..ab5b6e204
--- /dev/null
+++ b/mb/1systems/p1nk/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 = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
+ boot.kernelModules = [ "kvm-intel" ];
+ boot.extraModulePackages = [ ];
+
+ fileSystems."/" =
+ { device = "/dev/disk/by-uuid/4cc2add6-ed19-4685-bbd9-b992bd8d51fb";
+ fsType = "btrfs";
+ };
+
+ fileSystems."/boot" =
+ { device = "/dev/disk/by-uuid/9F87-AEAA";
+ fsType = "vfat";
+ };
+
+ swapDevices = [ ];
+
+ nix.maxJobs = lib.mkDefault 4;
+ powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+}