infrastructure/machines/nixos/build01/_hardware-configuration.nix
Elias Coppens e8d8e8ccff
Some checks failed
Check workflows / check_workflows (pull_request) Failing after 0s
Build all the nodes / ap01 (pull_request) Failing after 0s
Build all the nodes / bridge01 (pull_request) Failing after 0s
Build all the nodes / build01 (pull_request) Failing after 0s
Build all the nodes / hypervisor01 (pull_request) Failing after 0s
Build all the nodes / hypervisor02 (pull_request) Failing after 0s
Build all the nodes / hypervisor03 (pull_request) Failing after 0s
Build all the nodes / netcore02 (pull_request) Failing after 0s
Build all the nodes / rescue01 (pull_request) Failing after 0s
Build all the nodes / storage01 (pull_request) Failing after 0s
Build all the nodes / tower01 (pull_request) Failing after 0s
Build all the nodes / vault01 (pull_request) Failing after 0s
Build all the nodes / web01 (pull_request) Failing after 0s
Build all the nodes / web02 (pull_request) Failing after 0s
Build all the nodes / web03 (pull_request) Failing after 0s
Check meta / check_dns (pull_request) Successful in 21s
Run pre-commit on all files / pre-commit (pull_request) Failing after 0s
Check meta / check_meta (pull_request) Successful in 26s
Run pre-commit on all files / pre-commit (push) Successful in 45s
Build all the nodes / compute01 (pull_request) Failing after 54s
Build all the nodes / geo01 (pull_request) Failing after 53s
Build all the nodes / geo02 (pull_request) Failing after 53s
Build the shell / build-shell (pull_request) Successful in 43s
feat(build01): Init
2025-01-08 11:45:27 +01:00

59 lines
1.2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 = [
"xhci_pci"
"nvme"
"megaraid_sas"
"ehci_pci"
"ahci"
"usbhid"
"sd_mod"
];
kernelModules = [ "dm-snapshot" ];
};
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/fed99278-0916-4d9c-b974-c7125d3557b3";
fsType = "xfs";
};
"/data" = {
device = "/dev/disk/by-uuid/69b62f16-7db1-4720-a115-fd3b8dafe123";
fsType = "xfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/1372-46EA";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
};
swapDevices = [
{ device = "/dev/disk/by-uuid/34b9e0ab-c579-4293-849c-78f5093cf35a"; }
];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}