summaryrefslogtreecommitdiff
path: root/hel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel.nix')
-rw-r--r--hel.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hel.nix b/hel.nix
index 158ab2fa..60ae34c9 100644
--- a/hel.nix
+++ b/hel.nix
@@ -202,14 +202,14 @@
202 uucp = { 202 uucp = {
203 enable = true; 203 enable = true;
204 nodeName = "hel"; 204 nodeName = "hel";
205 remoteNodes = ["isaac" "ymir"]; # legacy name for odin 205 remoteNodes = ["odin" "ymir"];
206 sshUser = { 206 sshUser = {
207 openssh.authorizedKeys.keys = [ ''restrict,command="${config.security.wrapperDir}/uucico" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFH1QWdgoC03nzW5GBuCl2pqASHeIXIYtE9IInHdaKcO uucp@ymir'' 207 openssh.authorizedKeys.keys = [ ''restrict,command="${config.security.wrapperDir}/uucico" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFH1QWdgoC03nzW5GBuCl2pqASHeIXIYtE9IInHdaKcO uucp@ymir''
208 ''restrict,command="${pkgs.writeScript "odin.sh" "#!${pkgs.stdenv.shell}\necho .\nexec -a uucico ${config.security.wrapperDir}/uucico\n"}" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJhACtnt9+3j2ev4QVA2QBlPtblPnu7yol2njgfMlHtC uucp@odin'' 208 ''restrict,command="${config.security.wrapperDir}/uucico" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJhACtnt9+3j2ev4QVA2QBlPtblPnu7yol2njgfMlHtC uucp@odin''
209 ]; 209 ];
210 }; 210 };
211 sshConfig = '' 211 sshConfig = ''
212 Host isaac 212 Host odin
213 Hostname odin.asgard.yggdrasil 213 Hostname odin.asgard.yggdrasil
214 IdentityFile ~/.ssh/odin 214 IdentityFile ~/.ssh/odin
215 Host ymir 215 Host ymir