Tom Hubrecht
ecbad0a638
All checks were successful
Check workflows / check_workflows (push) Successful in 21s
Run pre-commit on all files / check (push) Successful in 24s
Check meta / check_dns (pull_request) Successful in 19s
Check meta / check_meta (pull_request) Successful in 18s
Check workflows / check_workflows (pull_request) Successful in 19s
Build all the nodes / bridge01 (pull_request) Successful in 1m13s
Build all the nodes / geo01 (pull_request) Successful in 1m14s
Build all the nodes / compute01 (pull_request) Successful in 1m44s
Build all the nodes / geo02 (pull_request) Successful in 1m12s
Build all the nodes / rescue01 (pull_request) Successful in 1m30s
Build all the nodes / storage01 (pull_request) Successful in 1m29s
Build all the nodes / vault01 (pull_request) Successful in 1m26s
Build all the nodes / web02 (pull_request) Successful in 1m19s
Run pre-commit on all files / check (pull_request) Successful in 24s
Build all the nodes / web01 (pull_request) Successful in 1m56s
Build all the nodes / web03 (pull_request) Successful in 1m25s
This adds subdirectories for the different types of systems, for the modules and the machines
53 lines
1.5 KiB
Nix
53 lines
1.5 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.
|
||
{ modulesPath, pkgs, ... }:
|
||
|
||
{
|
||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||
|
||
boot = {
|
||
initrd = {
|
||
availableKernelModules = [
|
||
"xhci_pci"
|
||
"ehci_pci"
|
||
"ahci"
|
||
"sd_mod"
|
||
"sr_mod"
|
||
];
|
||
};
|
||
|
||
kernelModules = [ "kvm-intel" ];
|
||
kernelPackages = pkgs.linuxPackages_latest;
|
||
|
||
supportedFilesystems.bcachefs = true;
|
||
};
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "UUID=3da58b64-a2fd-428d-bde8-3a185e2f73fd";
|
||
fsType = "bcachefs";
|
||
options = [ "compression=zstd" ];
|
||
};
|
||
|
||
"/boot" = {
|
||
device = "/dev/disk/by-uuid/4D0A-AF11";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
};
|
||
|
||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||
# still possible to use this option, but it's recommended to use it in conjunction
|
||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vlan-admin.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.vlan-uplink-oob.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = "x86_64-linux";
|
||
hardware.cpu.intel.updateMicrocode = true;
|
||
}
|