70c69346fb
Some checks failed
Check meta / check_meta (push) Failing after 18s
Check meta / check_dns (push) Successful in 22s
build configuration / build_vault01 (push) Successful in 1m18s
build configuration / build_storage01 (push) Successful in 1m19s
build configuration / build_web02 (push) Successful in 1m4s
build configuration / build_compute01 (push) Successful in 1m28s
build configuration / build_rescue01 (push) Successful in 1m11s
build configuration / build_web01 (push) Successful in 1m44s
lint / check (push) Successful in 25s
build configuration / build_geo01 (push) Successful in 1m1s
build configuration / build_bridge01 (push) Successful in 1m4s
build configuration / build_geo02 (push) Successful in 1m12s
build configuration / push_to_cache_storage01 (push) Successful in 1m23s
build configuration / push_to_cache_web02 (push) Successful in 1m20s
build configuration / push_to_cache_vault01 (push) Successful in 1m31s
build configuration / push_to_cache_rescue01 (push) Successful in 1m34s
build configuration / push_to_cache_geo01 (push) Successful in 1m15s
build configuration / push_to_cache_compute01 (push) Successful in 1m55s
build configuration / push_to_cache_geo02 (push) Successful in 1m12s
build configuration / push_to_cache_bridge01 (push) Successful in 1m22s
build configuration / push_to_cache_web01 (push) Successful in 2m10s
50 lines
999 B
Nix
50 lines
999 B
Nix
{
|
|
config,
|
|
lib,
|
|
modulesPath,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
|
|
|
boot = {
|
|
initrd = {
|
|
availableKernelModules = [
|
|
"ehci_pci"
|
|
"ahci"
|
|
"mpt3sas"
|
|
"usbhid"
|
|
"sd_mod"
|
|
];
|
|
kernelModules = [ ];
|
|
};
|
|
kernelModules = [ "kvm-intel" ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/92bf4d66-2693-4eca-9b26-f86ae09d468d";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
boot.initrd.luks.devices."mainfs" = {
|
|
device = "/dev/disk/by-uuid/26f9737b-28aa-4c3f-bd3b-b028283cef88";
|
|
keyFileSize = 1;
|
|
keyFile = "/dev/zero";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/280C-8844";
|
|
fsType = "vfat";
|
|
options = [
|
|
"fmask=0022"
|
|
"dmask=0022"
|
|
];
|
|
};
|
|
|
|
swapDevices = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|