mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-11 15:12:40 +02:00
fix: dstributed builds
This commit is contained in:
@@ -45,22 +45,22 @@
|
|||||||
# 3. a host alias defined globally in /etc/ssh/ssh_config
|
# 3. a host alias defined globally in /etc/ssh/ssh_config
|
||||||
hostName = "aquamarine";
|
hostName = "aquamarine";
|
||||||
# remote builder's max-job
|
# remote builder's max-job
|
||||||
maxJobs = 5;
|
maxJobs = 3;
|
||||||
# speedFactor's a signed integer
|
# speedFactor's a signed integer
|
||||||
# nix seems always try to build on the machine with the highest speedFactor
|
# nix seems always try to build on the machine with the highest speedFactor
|
||||||
speedFactor = 0;
|
speedFactor = 1;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
inherit sshUser sshKey systems supportedFeatures;
|
inherit sshUser sshKey systems supportedFeatures;
|
||||||
hostName = "ruby";
|
hostName = "ruby";
|
||||||
maxJobs = 2;
|
maxJobs = 2;
|
||||||
speedFactor = 0;
|
speedFactor = 1;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
inherit sshUser sshKey systems supportedFeatures;
|
inherit sshUser sshKey systems supportedFeatures;
|
||||||
hostName = "kana";
|
hostName = "kana";
|
||||||
maxJobs = 1;
|
maxJobs = 1;
|
||||||
speedFactor = 0;
|
speedFactor = 1;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
# optional, useful when the builder has a faster internet connection than yours
|
# optional, useful when the builder has a faster internet connection than yours
|
||||||
@@ -93,20 +93,20 @@
|
|||||||
programs.ssh.knownHosts = {
|
programs.ssh.knownHosts = {
|
||||||
# 星野 愛久愛海, Hoshino Aquamarine
|
# 星野 愛久愛海, Hoshino Aquamarine
|
||||||
aquamarine = {
|
aquamarine = {
|
||||||
hostNames = [ "aquamarine" ];
|
hostNames = [ "aquamarine" "192.168.5.101" ];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDnCQXlllHoLX5EvU+t6yP/npsmuxKt0skHVeJashizE";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDnCQXlllHoLX5EvU+t6yP/npsmuxKt0skHVeJashizE";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 星野 瑠美衣, Hoshino Rubii
|
# 星野 瑠美衣, Hoshino Rubii
|
||||||
ruby = {
|
ruby = {
|
||||||
hostNames = [ "ruby" ];
|
hostNames = [ "ruby" "192.168.5.102" ];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICoIvsorGgnYpyunNrJfZ6Nyue7wBTx6LsyMOMrpgHJ/";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICoIvsorGgnYpyunNrJfZ6Nyue7wBTx6LsyMOMrpgHJ/";
|
||||||
};
|
};
|
||||||
|
|
||||||
# 有馬 かな, Arima Kana
|
# 有馬 かな, Arima Kana
|
||||||
kana = {
|
kana = {
|
||||||
hostNames = [ "kana" ];
|
hostNames = [ "kana" "192.168.5.103" ];
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuoNB0OSjCFyS022e+ZQCIsb/nhkw/XcWjksqK3sh5x";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuoNB0OSjCFyS022e+ZQCIsb/nhkw/XcWjksqK3sh5x";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user