diff --git a/hosts/pinwheel/modules/ssh/default.nix b/hosts/pinwheel/modules/ssh/default.nix index cc5bdba..f76b198 100644 --- a/hosts/pinwheel/modules/ssh/default.nix +++ b/hosts/pinwheel/modules/ssh/default.nix @@ -10,10 +10,16 @@ identityFile = "/home/alex/.ssh/alex.pinwheel-sombrero"; port = 1122; }; + "github.com" = { hostname = "github.com"; identityFile = "/home/alex/.ssh/alex.pinwheel-github.com"; }; + + "gitlab.com" = { + hostname = "gitlab.com"; + identityFile = "/home/alex/.ssh/alex.pinwheel-work"; + }; }; }; @@ -42,5 +48,17 @@ owner = "alex"; group = "users"; }; + "alex.pinwheel-work" = { + file = ../../../../secrets/pinwheel/alex.pinwheel-work.age; + path = "/home/alex/.ssh/alex.pinwheel-work"; + owner = "alex"; + group = "users"; + }; + "alex.pinwheel-work.pub" = { + file = ../../../../secrets/pinwheel/alex.pinwheel-work.pub.age; + path = "/home/alex/.ssh/alex.pinwheel-work.pub"; + owner = "alex"; + group = "users"; + }; }; } diff --git a/secrets/pinwheel/alex.pinwheel-work.age b/secrets/pinwheel/alex.pinwheel-work.age new file mode 100644 index 0000000..4140818 Binary files /dev/null and b/secrets/pinwheel/alex.pinwheel-work.age differ diff --git a/secrets/pinwheel/alex.pinwheel-work.pub.age b/secrets/pinwheel/alex.pinwheel-work.pub.age new file mode 100644 index 0000000..cf9e4ee Binary files /dev/null and b/secrets/pinwheel/alex.pinwheel-work.pub.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index ca05038..3c55f88 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -8,4 +8,6 @@ in { "pinwheel/alex.pinwheel-sombrero.pub.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-github.com.age".publicKeys = [ pinwheel alex ]; "pinwheel/alex.pinwheel-github.com.pub.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-work.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-work.pub.age".publicKeys = [ pinwheel alex ]; }