diff --git a/hosts/pinwheel/modules/ssh/default.nix b/hosts/pinwheel/modules/ssh/default.nix index a3da43e..f457e95 100644 --- a/hosts/pinwheel/modules/ssh/default.nix +++ b/hosts/pinwheel/modules/ssh/default.nix @@ -19,6 +19,12 @@ port = 1122; }; + "andromeda" = { + hostname = "andromeda.a2x.se"; + user = "alex"; + identityFile = "/home/alex/.ssh/alex.pinwheel-andromeda"; + }; + "github.com" = { hostname = "github.com"; identityFile = "/home/alex/.ssh/alex.pinwheel-github.com"; @@ -55,6 +61,19 @@ owner = "alex"; group = "users"; }; + + "alex.pinwheel-andromeda" = { + file = ../../../../secrets/pinwheel/alex.pinwheel-andromeda.age; + path = "/home/alex/.ssh/alex.pinwheel-andromeda"; + owner = "alex"; + group = "users"; + }; + "alex.pinwheel-andromeda.pub" = { + file = ../../../../secrets/pinwheel/alex.pinwheel-andromeda.pub.age; + path = "/home/alex/.ssh/alex.pinwheel-andromeda.pub"; + owner = "alex"; + group = "users"; + }; }; services.openssh = { diff --git a/secrets/pinwheel/alex.pinwheel-andromeda.age b/secrets/pinwheel/alex.pinwheel-andromeda.age new file mode 100644 index 0000000..cd31015 Binary files /dev/null and b/secrets/pinwheel/alex.pinwheel-andromeda.age differ diff --git a/secrets/pinwheel/alex.pinwheel-andromeda.pub.age b/secrets/pinwheel/alex.pinwheel-andromeda.pub.age new file mode 100644 index 0000000..2493c30 Binary files /dev/null and b/secrets/pinwheel/alex.pinwheel-andromeda.pub.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 738428f..410da6f 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -10,6 +10,8 @@ in { "pinwheel/alex.pinwheel-sombrero.pub.age".publicKeys = [ pinwheel sombrero alex ]; "pinwheel/alex.pinwheel-github.com.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-github.com.pub.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-andromeda.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-andromeda.pub.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-work.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-work.pub.age".publicKeys = [ pinwheel alex ]; "pinwheel/netrc.age".publicKeys = [ pinwheel alex ];