diff options
| author | jeschli <jeschli@gmail.com> | 2019-04-28 15:05:34 +0200 |
|---|---|---|
| committer | jeschli <jeschli@gmail.com> | 2019-04-28 15:05:34 +0200 |
| commit | a09ce53832d281397e127fed537f585239ed721d (patch) | |
| tree | ad71d0f0c5908b4a126f4272e3c35db467079f79 /mb/1systems/p1nk/hardware-configuration.nix | |
| parent | 55616751967d510145e5255398347930be535389 (diff) | |
| parent | f5f3275ac968caaeba398e183c7d404adfeb10e1 (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.nix | 29 |
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 0000000..ab5b6e2 --- /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"; +} |
