b8e75176e1
All checks were successful
Check meta / check_meta (pull_request) Successful in 20s
Check meta / check_dns (pull_request) Successful in 20s
Check workflows / check_workflows (pull_request) Successful in 24s
Build all the nodes / ap01 (pull_request) Successful in 1m12s
Build all the nodes / geo01 (pull_request) Successful in 1m51s
Build all the nodes / bridge01 (pull_request) Successful in 2m1s
Build all the nodes / geo02 (pull_request) Successful in 1m39s
Build all the nodes / compute01 (pull_request) Successful in 2m33s
Build all the nodes / hypervisor01 (pull_request) Successful in 1m31s
Build all the nodes / netcore02 (pull_request) Successful in 36s
Build all the nodes / hypervisor02 (pull_request) Successful in 1m48s
Build all the nodes / hypervisor03 (pull_request) Successful in 1m50s
Build all the nodes / vault01 (pull_request) Successful in 2m3s
Build all the nodes / storage01 (pull_request) Successful in 2m14s
Build all the nodes / rescue01 (pull_request) Successful in 2m30s
Build all the nodes / web02 (pull_request) Successful in 1m42s
Run pre-commit on all files / pre-commit (pull_request) Successful in 36s
Build all the nodes / web01 (pull_request) Successful in 2m11s
Build all the nodes / web03 (pull_request) Successful in 1m38s
Check meta / check_dns (push) Successful in 19s
Check meta / check_meta (push) Successful in 30s
Build all the nodes / ap01 (push) Successful in 1m27s
Build all the nodes / geo01 (push) Successful in 2m6s
Build all the nodes / bridge01 (push) Successful in 2m9s
Build all the nodes / hypervisor01 (push) Successful in 1m58s
Build all the nodes / geo02 (push) Successful in 2m10s
Build all the nodes / compute01 (push) Successful in 2m34s
Build all the nodes / netcore02 (push) Successful in 31s
Build all the nodes / hypervisor02 (push) Successful in 1m44s
Build all the nodes / hypervisor03 (push) Successful in 1m55s
Build all the nodes / vault01 (push) Successful in 2m5s
Build all the nodes / storage01 (push) Successful in 2m23s
Build all the nodes / rescue01 (push) Successful in 2m28s
Build all the nodes / web02 (push) Successful in 1m57s
Run pre-commit on all files / pre-commit (push) Successful in 35s
Build all the nodes / web01 (push) Successful in 2m40s
Build all the nodes / web03 (push) Successful in 1m48s
79 lines
1.6 KiB
Nix
79 lines
1.6 KiB
Nix
# 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,
|
||
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 = "rootfs";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
"/nix" = {
|
||
device = "rootfs/nix";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
"/var" = {
|
||
device = "rootfs/var";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
# boot1 = boot partition in first disk (used by default)
|
||
# boot2 = boot partition in second disk (used in backup)
|
||
|
||
"/boot1" = {
|
||
device = "/dev/disk/by-label/BOOT1";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
|
||
"/boot2" = {
|
||
device = "/dev/disk/by-label/BOOT2";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
};
|
||
|
||
swapDevices = [
|
||
{ device = "/dev/disk/by-uuid/759f1573-7593-400e-b310-c384fc6124c3"; }
|
||
{ device = "/dev/disk/by-uuid/73f94cd3-3f0f-4a32-9e5b-abd6c2a9b219"; }
|
||
];
|
||
|
||
networking.useDHCP = lib.mkDefault true;
|
||
networking.interfaces.eno4.useDHCP = lib.mkDefault true;
|
||
|
||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|