2021-12-26 20:44:36 +01:00
|
|
|
{
|
2022-03-23 13:10:18 +01:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
2021-12-26 20:44:36 +01:00
|
|
|
|
2022-03-23 13:10:18 +01:00
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci"];
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
boot.extraModulePackages = [];
|
2021-12-26 20:44:36 +01:00
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
device = "/dev/disk/by-uuid/595d4130-1aa8-4779-9dd9-6707929f0981";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2022-03-23 13:10:18 +01:00
|
|
|
boot.initrd.luks.devices."nixos".device = "/dev/disk/by-uuid/52caf614-e56e-46f4-9604-222ea98fc106";
|
2021-12-26 20:44:36 +01:00
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/D70A-4148";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
|
2022-03-23 13:10:18 +01:00
|
|
|
swapDevices = [];
|
2021-12-26 20:44:36 +01:00
|
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode =
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|