distributed builds: fix swapped key, add pc2
This commit is contained in:
parent
aa567694df
commit
cde2658789
2 changed files with 6 additions and 3 deletions
|
|
@ -148,7 +148,10 @@
|
||||||
home-manager-users = {
|
home-manager-users = {
|
||||||
inherit (self.homeConfigurations) muede;
|
inherit (self.homeConfigurations) muede;
|
||||||
};
|
};
|
||||||
distributedBuilds.isBuilder = true;
|
distributedBuilds = {
|
||||||
|
isBuilder = true;
|
||||||
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAbojdhb3PfazSRmudvo381Y+zUFVLMa7AbWbfK/Zp2 muede-lpt2-nix-builds";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
muede-pc2 = {
|
muede-pc2 = {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
@ -157,7 +160,7 @@
|
||||||
};
|
};
|
||||||
distributedBuilds = {
|
distributedBuilds = {
|
||||||
isBuilder = true;
|
isBuilder = true;
|
||||||
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAbojdhb3PfazSRmudvo381Y+zUFVLMa7AbWbfK/Zp2 muede-pc2-nix-builds";
|
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHmnyhP6L+kGHV15cb/d31AQr50wSEaQhkUBwy2+OEKk muede-pc2-nix-builds";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ronja-pc = {
|
ronja-pc = {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ let
|
||||||
# === Onboarding a device as a build client ===
|
# === Onboarding a device as a build client ===
|
||||||
#
|
#
|
||||||
# 1. Generate a key pair on the device:
|
# 1. Generate a key pair on the device:
|
||||||
# sudo ssh-keygen -t ed25519 -f /etc/nix/distributed-build-key -N "" -C "<hostname>-nix-builds"
|
# sudo ssh-keygen -t ed25519 -f /etc/nix/distributed-build-key -N "" -C "$(hostname)-nix-builds"
|
||||||
# (owned by root, mode 0600)
|
# (owned by root, mode 0600)
|
||||||
#
|
#
|
||||||
# 2. Add the public key to the device entry in flake.nix:
|
# 2. Add the public key to the device entry in flake.nix:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue