diff options
author | EuAndreh <eu@euandre.org> | 2023-03-20 11:07:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-20 11:07:41 -0300 |
commit | 79d055455ab4117832375887839be9d80062b92a (patch) | |
tree | 51f7e9f695c49c64838a626ebc15ea7b48691ef2 /src | |
parent | src/infrastructure/config/known_hosts.txt: Add "velhinho" keys (diff) | |
download | toph-79d055455ab4117832375887839be9d80062b92a.tar.gz toph-79d055455ab4117832375887839be9d80062b92a.tar.xz |
system.scm: Derive SSH key name from tld
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show 79d055455ab4117832375887839be9d80062b92a
git notes --ref=refs/notes/ci-data show 79d055455ab4117832375887839be9d80062b92a
Exit status: 0
Duration: 12
Diffstat (limited to 'src')
-rw-r--r-- | src/infrastructure/guix/system.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index ed34f75..e579253 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -411,7 +411,7 @@ (simple-service 'extra-etc-file etc-service-type `(("rc" ,(plain-file "rc.sh" (file "src/infrastructure/config/rc.sh"))) ("known_hosts" ,(plain-file "known_hosts" (file "src/infrastructure/config/known_hosts.txt"))) - ("id_rsa.pub" ,(plain-file "id_rsa.pub" (file "src/infrastructure/keys/SSH/root@euandre.org.id_rsa.pub.stripped"))) + ("id_rsa.pub" ,(plain-file "id_rsa.pub" (file (fmt "src/infrastructure/keys/SSH/root@~a.id_rsa.pub.stripped" tld)))) ("ssh.conf" ,(plain-file "ssh.conf" (file "src/infrastructure/config/ssh.conf"))) ("init.scm" ,(plain-file "init.scm" (file "src/infrastructure/config/init.scm"))) ("gitconfig" ,(plain-file "gitconfig" (file "src/infrastructure/config/gitconfig"))))) |