2024-08-07 17:41:33 +02:00
|
|
|
top @ {...}: {
|
2024-08-03 10:57:26 +02:00
|
|
|
flake.hardwareConfigurations = {
|
2024-08-07 17:41:33 +02:00
|
|
|
nova = {
|
|
|
|
lib,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
2024-08-03 10:57:26 +02:00
|
|
|
boot = {
|
|
|
|
initrd = {
|
2024-08-07 17:41:33 +02:00
|
|
|
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci"];
|
|
|
|
kernelModules = [];
|
2024-08-03 10:57:26 +02:00
|
|
|
luks.devices."nixos".device = "/dev/disk/by-uuid/712dd8ba-d5b4-438a-9a77-663b8c935cfe";
|
|
|
|
};
|
2024-08-07 17:41:33 +02:00
|
|
|
kernelModules = ["kvm-intel"];
|
|
|
|
extraModulePackages = [];
|
2024-08-03 10:57:26 +02:00
|
|
|
};
|
|
|
|
fileSystems = {
|
2024-08-07 17:41:33 +02:00
|
|
|
"/" = {
|
|
|
|
device = "/dev/disk/by-uuid/47536cbe-7265-493b-a2e3-bbd376a6f9af";
|
|
|
|
fsType = "btrfs";
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/4C3C-993A";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2024-08-03 10:57:26 +02:00
|
|
|
};
|
2024-08-07 17:41:33 +02:00
|
|
|
swapDevices = [];
|
2024-08-03 17:09:52 +02:00
|
|
|
networking.useDHCP = lib.mkForce true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
|
2024-08-03 10:57:26 +02:00
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkForce false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|