diff options
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/3modules/build/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/krebs/3modules/build/default.nix b/krebs/3modules/build/default.nix index 993ccb702..23bd8c8fd 100644 --- a/krebs/3modules/build/default.nix +++ b/krebs/3modules/build/default.nix @@ -33,7 +33,6 @@ let default = let inherit (config.krebs.build) host; - inherit (host.ssh) privkey; in '' #! /bin/sh @@ -41,7 +40,7 @@ let hostname=${host.name} secrets_dir=${config.krebs.build.source.dir.secrets.path} - key_type=${privkey.type} + key_type=ed25519 key_file=$secrets_dir/ssh.id_$key_type key_comment=$hostname @@ -49,8 +48,6 @@ let echo "Warning: privkey already exists: $key_file" >&2 else ssh-keygen \ - ${optionalString (privkey.bits != null) - "-b ${toString privkey.bits}"} \ -C "$key_comment" \ -t "$key_type" \ -f "$key_file" \ @@ -62,7 +59,6 @@ let cat<<EOF # put following into config.krebs.hosts.$hostname: - ssh.privkey = <secrets/ssh.id_$key_type>; ssh.pubkey = $(echo $pubkey | jq -R .); EOF ''; |