many updates
This commit is contained in:
parent
0fb5e46e8f
commit
9e8d6fcddb
6 changed files with 126 additions and 131 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue