summaryrefslogtreecommitdiffstats
path: root/mb/1systems/p1nk/hardware-configuration.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-28 13:46:00 +0200
committerlassulus <lassulus@lassul.us>2019-04-28 13:46:00 +0200
commit2f8a55268c75142a19a58fe3752d197077a223b4 (patch)
treee2df9faec64cfbfdc2d57a653b6e928fb2ee81b4 /mb/1systems/p1nk/hardware-configuration.nix
parentc483c69ba183772bfd2e5a2972bfd7cbc550fba3 (diff)
parent3dc61a8f2d525f7f6c1260ca97a918f78242cb1c (diff)
Merge branch 'mb'
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";
+}