diff options
author | Jeschli <jeschli@gmail.com> | 2019-09-21 08:53:51 +0200 |
---|---|---|
committer | Jeschli <jeschli@gmail.com> | 2019-09-21 10:01:24 +0200 |
commit | 6a8c73d3b3e7b82ce6484fdc68101124752f6d64 (patch) | |
tree | 56b7f1dea7baa1b2548ca1415b4721e1cbb7e5b6 /jeschli/1systems/reagenzglas/hardware-configuration.nix | |
parent | ad0515d93d70e8c9c09413e9686e7401877c310c (diff) |
jeschli: add reagenzglas to stockholm
Diffstat (limited to 'jeschli/1systems/reagenzglas/hardware-configuration.nix')
-rw-r--r-- | jeschli/1systems/reagenzglas/hardware-configuration.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/jeschli/1systems/reagenzglas/hardware-configuration.nix b/jeschli/1systems/reagenzglas/hardware-configuration.nix new file mode 100644 index 000000000..55f5532d6 --- /dev/null +++ b/jeschli/1systems/reagenzglas/hardware-configuration.nix @@ -0,0 +1,37 @@ +# 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" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.initrd.luks.devices = [ + { + name = "root"; + device = "/dev/nvme0n1p8"; + preLVM = true; + } + ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/4d01936e-c876-42c3-962a-d4a20ad0e2e0"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/D455-E4CC"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + nix.maxJobs = lib.mkDefault 8; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; +} |