update nix config for rainbow-resort
Some checks reported errors
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24348 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24346 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24345 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24347 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #24349 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.rainbow-resort Hydra build #24352 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24353 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #24351 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522-installer Hydra build #24350 of nixos-config:pr618:nixosConfigurations.not522-installer
Some checks reported errors
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24348 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24346 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24345 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24347 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #24349 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.rainbow-resort Hydra build #24352 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24353 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.pc-installer Hydra build #24351 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522-installer Hydra build #24350 of nixos-config:pr618:nixosConfigurations.not522-installer
This commit is contained in:
parent
2909c873ce
commit
1b63b4b3fd
2 changed files with 29 additions and 5 deletions
|
@ -17,7 +17,31 @@
|
|||
boot.initrd.kernelModules = ["amdgpu"];
|
||||
boot.kernelModules = ["kvm-amd" "i2c-dev" "i2c-piix4"];
|
||||
boot.extraModulePackages = [];
|
||||
nix.settings.cores = 4;
|
||||
# use the lowest frequency possible, to save power
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
nix.settings.cores = 16;
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"armv7l-linux"
|
||||
"powerpc-linux"
|
||||
"powerpc64-linux"
|
||||
"powerpc64le-linux"
|
||||
"wasm32-wasi"
|
||||
"riscv32-linux"
|
||||
"riscv64-linux"
|
||||
];
|
||||
nix.daemonCPUSchedPolicy = "idle";
|
||||
nix.daemonIOSchedClass = "idle";
|
||||
|
||||
nix.settings.system-features = [
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
"big-parallel"
|
||||
"benchmark"
|
||||
"gccarch-znver4"
|
||||
"gccarch-znver3"
|
||||
"gccarch-znver2"
|
||||
"gccarch-znver1"
|
||||
"gccarch-skylake"
|
||||
"gccarch-skylake-avx512"
|
||||
"ca-derivations"
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ with lib; {
|
|||
];
|
||||
}
|
||||
]
|
||||
[
|
||||
(mkIf (config.networking.hostName != "rainbow-resort") [
|
||||
{
|
||||
hostName = "build-rainbow-resort";
|
||||
systems = [
|
||||
|
@ -76,7 +76,7 @@ with lib; {
|
|||
"ca-derivations"
|
||||
];
|
||||
}
|
||||
]
|
||||
])
|
||||
(mkIf (config.networking.hostName != "not522") [
|
||||
{
|
||||
hostName = "build-riscv";
|
||||
|
|
Loading…
Reference in a new issue