boron: add firmware and optimise compilation for hardware
All checks were successful
flake / flake (push) Successful in 2m41s

This commit is contained in:
Jake Hillion 2024-05-19 00:03:30 +01:00
parent a9c9600b14
commit 33a0194ae7

View File

@ -30,6 +30,16 @@
custom.defaults = true; custom.defaults = true;
## Hardware optimisations
hardware.enableAllFirmware = true;
nix.settings.system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-znver4" ];
nixpkgs.hostPlatform = {
gcc.arch = "znver4";
gcc.tune = "znver4";
system = builtins.readFile ./system;
};
## Kernel ## Kernel
### Explicitly use the latest kernel at time of writing because the LTS ### Explicitly use the latest kernel at time of writing because the LTS
### kernels available in NixOS do not seem to support this server's very ### kernels available in NixOS do not seem to support this server's very