many updates

This commit is contained in:
RingOfStorms (Joshua Bell) 2026-01-04 17:32:01 -06:00
parent 0fb5e46e8f
commit 9e8d6fcddb
6 changed files with 126 additions and 131 deletions

View file

@ -54,6 +54,11 @@ in
"lio" = lib.mkIf (hasSecret "nix2lio") {
identityFile = age.secrets.nix2lio.path;
user = "josh";
extraOptions = {
"PubkeyAcceptedKeyTypes" = "ssh-ed25519";
"ServerAliveInterval" = 60;
"IPQoS" = "throughput";
};
};
"lio_" = lib.mkIf (hasSecret "nix2lio") {
identityFile = age.secrets.nix2lio.path;

View file

@ -12,20 +12,11 @@ let
secrets ? ${secret} && secrets.${secret} != null;
in
{
# Remote build off home lio computer
programs.ssh.extraConfig = lib.mkIf (hasSecret "nix2lio") ''
Host lio_
PubkeyAcceptedKeyTypes ssh-ed25519
ServerAliveInterval 60
IPQoS throughput
IdentityFile ${config.age.secrets.nix2lio.path}
'';
nix = lib.mkIf (hasSecret "nix2lio") {
distributedBuilds = true;
buildMachines = [
{
# TODO require hostname in ssh config?
hostName = "lio_";
hostName = "lio";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 32;