summaryrefslogtreecommitdiffstats
path: root/mb/1systems/p1nk/hardware-configuration.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-26 20:11:30 +0200
committerlassulus <lassulus@lassul.us>2019-04-26 20:11:30 +0200
commit3dc61a8f2d525f7f6c1260ca97a918f78242cb1c (patch)
tree4cf31ab659c72422931974bc42a05dfb3159cd9c /mb/1systems/p1nk/hardware-configuration.nix
parent7653f7d9f39a8b710f81b4341e0ab09289a60288 (diff)
mb: add p1nk.rmb
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";
+}