forked from emily/nixfiles
Add gccarch system-feature
This commit is contained in:
parent
e34cbc3aa2
commit
c170ebf123
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
kyouma.deployment.auto-upgrade.cache = "daemon";
|
||||
nix.gc.options = lib.mkForce "--delete-older-than 60d";
|
||||
nix.settings.trusted-users = [ "build" ];
|
||||
nix.settings = {
|
||||
trusted-users = [ "build" ];
|
||||
system-features = [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ lib.optionals pkgs.hostPlatform.isx86_64 [ "gccarch-x86-64-v3" ];
|
||||
};
|
||||
nix.extraOptions = ''
|
||||
min-free = ${builtins.toString (4096 * 1024 * 1024)}
|
||||
max-free = ${builtins.toString (8192 * 1024 * 1024)}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
maxJobs = 40;
|
||||
speedFactor = 40;
|
||||
systems = [ "x86_64-linux" ];
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" "gccarch-x86-64-v3" ];
|
||||
sshKey = config.sops.secrets."services/hydra/id_ed25519_hydra".path;
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue