boron: optimise compilation for hardware
All checks were successful
flake / flake (push) Successful in 1m59s
All checks were successful
flake / flake (push) Successful in 1m59s
This commit is contained in:
parent
5146d6cd6f
commit
ef71263946
@ -30,6 +30,14 @@
|
|||||||
|
|
||||||
custom.defaults = true;
|
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
|
## 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
|
||||||
|
Loading…
Reference in New Issue
Block a user