Compare commits

...

2 commits

Author SHA1 Message Date
müde
05645a2c46 nix flake update nova-shell 2026-05-01 21:24:32 +02:00
müde
cde2658789 distributed builds: fix swapped key, add pc2 2026-05-01 21:24:16 +02:00
3 changed files with 10 additions and 7 deletions

8
flake.lock generated
View file

@ -643,11 +643,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1777479755, "lastModified": 1777656272,
"narHash": "sha256-rKha1HlZIYn+nhptqOSaSPGywXXdM5S462oiXh64EWM=", "narHash": "sha256-OcxjycGuzEeU6ZbX4SjSx4YVKcDlaZm8gdSvEFGowoo=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "7ab784e101b69f35f65e300d5779888624f7a7a5", "rev": "40cc681e9a36320659175f240e9ccc3f3041a7e9",
"revCount": 596, "revCount": 598,
"type": "git", "type": "git",
"url": "https://git.berlin.ccc.de/vinzenz/nova-shell" "url": "https://git.berlin.ccc.de/vinzenz/nova-shell"
}, },

View file

@ -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 = {

View file

@ -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: