diff --git a/flake.lock b/flake.lock index 764d421..9445a9a 100644 --- a/flake.lock +++ b/flake.lock @@ -643,11 +643,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1777656272, - "narHash": "sha256-OcxjycGuzEeU6ZbX4SjSx4YVKcDlaZm8gdSvEFGowoo=", + "lastModified": 1777479755, + "narHash": "sha256-rKha1HlZIYn+nhptqOSaSPGywXXdM5S462oiXh64EWM=", "ref": "refs/heads/main", - "rev": "40cc681e9a36320659175f240e9ccc3f3041a7e9", - "revCount": 598, + "rev": "7ab784e101b69f35f65e300d5779888624f7a7a5", + "revCount": 596, "type": "git", "url": "https://git.berlin.ccc.de/vinzenz/nova-shell" }, diff --git a/flake.nix b/flake.nix index 2c80aec..57d4037 100644 --- a/flake.nix +++ b/flake.nix @@ -148,10 +148,7 @@ home-manager-users = { inherit (self.homeConfigurations) muede; }; - distributedBuilds = { - isBuilder = true; - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAbojdhb3PfazSRmudvo381Y+zUFVLMa7AbWbfK/Zp2 muede-lpt2-nix-builds"; - }; + distributedBuilds.isBuilder = true; }; muede-pc2 = { system = "x86_64-linux"; @@ -160,7 +157,7 @@ }; distributedBuilds = { isBuilder = true; - publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHmnyhP6L+kGHV15cb/d31AQr50wSEaQhkUBwy2+OEKk muede-pc2-nix-builds"; + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKAbojdhb3PfazSRmudvo381Y+zUFVLMa7AbWbfK/Zp2 muede-pc2-nix-builds"; }; }; ronja-pc = { diff --git a/nixosModules/distributed-builds.nix b/nixosModules/distributed-builds.nix index 27804ee..a811a71 100644 --- a/nixosModules/distributed-builds.nix +++ b/nixosModules/distributed-builds.nix @@ -17,7 +17,7 @@ let # === Onboarding a device as a build client === # # 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 "-nix-builds" # (owned by root, mode 0600) # # 2. Add the public key to the device entry in flake.nix: