2021-12-29 15:15:02 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }: {
|
|
|
|
|
imports = [ "${modulesPath}/installer/scan/not-detected.nix" ];
|
2019-06-15 15:04:13 +02:00
|
|
|
|
2020-06-24 11:52:02 +02:00
|
|
|
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
2019-06-15 15:04:13 +02:00
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2020-11-02 15:42:52 +01:00
|
|
|
boot.initrd.luks.devices."luksmap".device = "/dev/disk/by-uuid/03b6abd0-e9ce-49c8-9659-a1d94f645d0f";
|
|
|
|
|
|
2020-06-10 17:37:25 +02:00
|
|
|
fileSystems."/" = {
|
2020-06-24 11:52:02 +02:00
|
|
|
device = "/dev/disk/by-uuid/66ced7b9-cfa7-40dd-a488-18ef91a337e0";
|
2020-06-10 17:37:25 +02:00
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2019-06-15 15:04:13 +02:00
|
|
|
|
2020-06-10 17:37:25 +02:00
|
|
|
fileSystems."/boot" = {
|
2020-06-24 11:52:02 +02:00
|
|
|
device = "/dev/disk/by-uuid/E1B1-1B9C";
|
2020-06-10 17:37:25 +02:00
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
2019-06-15 15:04:13 +02:00
|
|
|
|
2021-12-28 15:40:25 +01:00
|
|
|
zramSwap.enable = false;
|
2019-06-15 15:04:13 +02:00
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 4;
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
}
|