diff --git a/hosts/pinwheel/configuration.nix b/hosts/pinwheel/configuration.nix index b8e4795..bbd7e0b 100644 --- a/hosts/pinwheel/configuration.nix +++ b/hosts/pinwheel/configuration.nix @@ -203,6 +203,18 @@ secrets = { "syncthing-cert".file = ../../secrets/pinwheel/syncthing-cert.age; "syncthing-key".file = ../../secrets/pinwheel/syncthing-key.age; + "alex.pinwheel-github.com" = { + file = ../../secrets/pinwheel/alex.pinwheel-github.com.age; + path = "/home/alex/.ssh/alex.pinwheel-github.com"; + owner = "alex"; + group = "users"; + }; + "alex.pinwheel-github.com.pub" = { + file = ../../secrets/pinwheel/alex.pinwheel-github.com.pub.age; + path = "/home/alex/.ssh/alex.pinwheel-github.com.pub"; + owner = "alex"; + group = "users"; + }; }; }; diff --git a/hosts/pinwheel/home.nix b/hosts/pinwheel/home.nix index 3f11ea3..20f0065 100644 --- a/hosts/pinwheel/home.nix +++ b/hosts/pinwheel/home.nix @@ -13,6 +13,17 @@ bemenu ]; + programs.ssh = { + enable = true; + + matchBlocks = { + "github.com" = { + hostname = "github.com"; + identityFile = "/home/alex/.ssh/alex.pinwheel-github.com"; + }; + }; + }; + programs.git = { enable = true; includes = [ diff --git a/secrets/pinwheel/alex.pinwheel-github.com.age b/secrets/pinwheel/alex.pinwheel-github.com.age new file mode 100644 index 0000000..9934a9a --- /dev/null +++ b/secrets/pinwheel/alex.pinwheel-github.com.age @@ -0,0 +1,11 @@ +age-encryption.org/v1 +-> ssh-ed25519 vxPbZg g13GqplvgepGcVTDjmJ+94qYLGP15rszwFONudrnn0I +qwGum5j7mh+bRl4Znj6w/cDzlx2rEodLkAiUb6wb+AE +-> ssh-ed25519 ek+b7Q ByAJqVEcaNbvRqVBaTJQCVKLKWfQqgp9UwTd1mALkj4 +DnVPUdU0BK8gX56IGSuTg93Ar2eNoLtpDqlJCfYcBZ0 +-> d$5j-grease @fXJjF41 DnacW/ë?j 8q `{$+n!FOg 3{,Nvy۲,azidydD/$*ÿe{TJ`BT `&9G<{H]~zvY[F4_loll^_&QQKF* 'k*ޒy[>^Pp_gsA\" 9]6ty" š:HU8i հtAˆ)Ls~̸u)a.R01|Rƛn %0EFטuաg|(7s_5{UK"8rؖE8gzX {^DEĴa%Ǭ W6oL*^ȦIwT>\6 A"U \ No newline at end of file diff --git a/secrets/pinwheel/alex.pinwheel-github.com.pub.age b/secrets/pinwheel/alex.pinwheel-github.com.pub.age new file mode 100644 index 0000000..6135a41 Binary files /dev/null and b/secrets/pinwheel/alex.pinwheel-github.com.pub.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 999b1d2..0993e7e 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -4,4 +4,6 @@ let in { "pinwheel/syncthing-cert.age".publicKeys = [ pinwheel alex ]; "pinwheel/syncthing-key.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-github.com.age".publicKeys = [ pinwheel alex ]; + "pinwheel/alex.pinwheel-github.com.pub.age".publicKeys = [ pinwheel alex ]; }