From 7c606b10e2105389bab8d2faf5afe9b401aa868d Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 27 Nov 2025 17:53:17 +0200 Subject: [PATCH] feat: stable ssh keys --- common/etc/ssh/ssh_host_ed25519_key.makeimg.template | 1 + common/etc/ssh/ssh_host_ed25519_key.pub.makeimg.template | 1 + flake.lock | 6 +++--- sqmeta/secrets/+ssh_host_ed25519_key | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 common/etc/ssh/ssh_host_ed25519_key.makeimg.template create mode 100644 common/etc/ssh/ssh_host_ed25519_key.pub.makeimg.template create mode 100644 sqmeta/secrets/+ssh_host_ed25519_key diff --git a/common/etc/ssh/ssh_host_ed25519_key.makeimg.template b/common/etc/ssh/ssh_host_ed25519_key.makeimg.template new file mode 100644 index 0000000..bfe5dd4 --- /dev/null +++ b/common/etc/ssh/ssh_host_ed25519_key.makeimg.template @@ -0,0 +1 @@ +$(makeimg -S +ssh_host_ed25519_key) diff --git a/common/etc/ssh/ssh_host_ed25519_key.pub.makeimg.template b/common/etc/ssh/ssh_host_ed25519_key.pub.makeimg.template new file mode 100644 index 0000000..e086de6 --- /dev/null +++ b/common/etc/ssh/ssh_host_ed25519_key.pub.makeimg.template @@ -0,0 +1 @@ +$(ssh-keygen -y -f <(makeimg -S +ssh_host_ed25519_key)) diff --git a/flake.lock b/flake.lock index 9c5e642..f23ae8a 100644 --- a/flake.lock +++ b/flake.lock @@ -29,11 +29,11 @@ }, "locked": { "host": "git.src.quest", - "lastModified": 1764189224, - "narHash": "sha256-Ixz/+3Ks/TwiJiQhQezBROgg5RuvTTg4Q2ayBiJ2MIE=", + "lastModified": 1764258396, + "narHash": "sha256-6p7OWoVbCzVhPfph9vvqdiSo/AmxzTVgvOQruzIDOPk=", "owner": "~liljamo", "repo": "makeimg.nix", - "rev": "25aa7410ef7880caf4abbefcbfbfcef99f6494e6", + "rev": "6c34e721a5ef4432c8d234dd1851adcbfcf087fe", "type": "sourcehut" }, "original": { diff --git a/sqmeta/secrets/+ssh_host_ed25519_key b/sqmeta/secrets/+ssh_host_ed25519_key new file mode 100644 index 0000000..ea58e4b --- /dev/null +++ b/sqmeta/secrets/+ssh_host_ed25519_key @@ -0,0 +1 @@ +pass show src.quest/sqmeta/ssh_host_ed25519_key -- 2.44.1