summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ymir.nix')
-rw-r--r--ymir.nix23
1 files changed, 10 insertions, 13 deletions
diff --git a/ymir.nix b/ymir.nix
index c0faba6b..192bc27b 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -852,20 +852,17 @@ in rec {
852 services.uucp = { 852 services.uucp = {
853 enable = true; 853 enable = true;
854 nodeName = "ymir"; 854 nodeName = "ymir";
855 remoteNodes = [ "odin" "hel" ]; 855 remoteNodes = {
856 sshUser = { 856 "odin" = {
857 openssh.authorizedKeys.keys = [ ''restrict,command="${config.security.wrapperDir}/uucico" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT/BsAMLJs9NYhKIso4J3EF+VzRBm3c+qCQ5ONKc/1s uucp@odin'' 857 publicKeys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT/BsAMLJs9NYhKIso4J3EF+VzRBm3c+qCQ5ONKc/1s uucp@odin"];
858 ''restrict,command="${config.security.wrapperDir}/uucico" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOWBybBQKbPucqBgULQ1phv7IKFWl1Xc4drkCx3D5mIz uucp@hel'' 858 hostnames = ["odin.asgard.yggdrasil"];
859 ]; 859 };
860 "hel" = {
861 publicKeys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOWBybBQKbPucqBgULQ1phv7IKFWl1Xc4drkCx3D5mIz uucp@hel"];
862 hostnames = ["hel.midgard.yggdrasil"];
863 };
860 }; 864 };
861 sshConfig = '' 865
862 Host odin
863 Hostname odin.asgard.yggdrasil
864 IdentityFile ~/.ssh/odin
865 Host hel
866 Hostname hel.midgard.yggdrasil
867 IdentityFile ~/.ssh/hel
868 '';
869 commandPath = ["${pkgs.rmail}/bin" "${pkgs.push2bin}/bin"]; 866 commandPath = ["${pkgs.rmail}/bin" "${pkgs.push2bin}/bin"];
870 defaultCommands = ["rmail" "push2bin"]; 867 defaultCommands = ["rmail" "push2bin"];
871 }; 868 };