Tom Hubrecht
680682f520
Some checks failed
Check meta / check_meta (push) Failing after 25s
Check meta / check_dns (push) Successful in 45s
build configuration / build_vault01 (push) Successful in 3m33s
build configuration / build_storage01 (push) Successful in 3m36s
build configuration / build_compute01 (push) Successful in 3m37s
build configuration / build_web02 (push) Successful in 2m56s
lint / check (push) Successful in 24s
build configuration / build_web01 (push) Successful in 3m45s
build configuration / build_rescue01 (push) Successful in 1m29s
build configuration / push_to_cache (push) Successful in 3m24s
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;
|
||
}
|