Compare commits

...

1 Commits

Author SHA1 Message Date
ef71263946 boron: optimise compilation for hardware
All checks were successful
flake / flake (push) Successful in 1m59s
2024-11-04 00:20:00 +00:00

View File

@ -30,6 +30,14 @@
custom.defaults = true;
## Hardware optimisations
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
### 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