purge supercap

i no longer have access to dispatch build jobs to it :((((
This commit is contained in:
Colin 2024-02-01 15:36:37 +00:00
parent 715ac42f13
commit 3100189172
2 changed files with 3 additions and 24 deletions

View File

@ -36,10 +36,4 @@
wg-home.endpoint = "uninsane.org:51820";
lan-ip = "10.78.79.51";
};
sane.hosts.by-name."supercap" = {
ssh.authorized = false;
ssh.host_pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHf/mqqkX45EWAcquV04MC3SUljTApdclH1gjI19F+PA";
lan-ip = "10.78.79.232";
};
}

View File

@ -2,11 +2,11 @@
# if one of these hosts is offline, instead manually specify just cachix:
# - `nixos-rebuild --option substituters https://cache.nixos.org/`
#
# additionally, sends build jobs to supercap/servo/desko (splits the jobs across all that are enabled).
# additionally, sends build jobs to servo/desko (splits the jobs across all that are enabled).
# to verify one particular remote builder:
# - `nix store ping --store ssh://servo`
# NOTE: if your unix user doesn't have ssh access to the remote builder, do the above as root (not just sudo, actual root).
# - `sudo su; nix store ping --store ssh://supercap`
# - `sudo su; nix store ping --store ssh://servo`
#
# future improvements:
# - apply for community arm build box:
@ -50,10 +50,6 @@ in
default = true;
type = types.bool;
};
sane.nixcache.remote-builders.supercap = mkOption {
default = false;
type = types.bool;
};
};
config = {
@ -100,18 +96,7 @@ in
sshUser = "nixremote";
sshKey = config.sops.secrets."nixremote_ssh_key".path;
})
(lib.mkIf cfg.remote-builders.supercap {
hostName = "supercap";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 32;
speedFactor = 16;
supportedFeatures = [ "big-parallel" ];
mandatoryFeatures = [ ];
sshUser = "root";
sshKey = config.sops.secrets."nixremote_ssh_key".path;
})
];
nix.distributedBuilds = lib.mkIf (cfg.remote-builders.desko || cfg.remote-builders.servo || cfg.remote-builders.supercap) true;
nix.distributedBuilds = lib.mkIf (cfg.remote-builders.desko || cfg.remote-builders.servo) true;
};
}