diff options
author | EuAndreh <eu@euandre.org> | 2023-03-20 09:46:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-20 10:03:17 -0300 |
commit | 7ffcd694068d484842be0b87a9aeeda0a7720568 (patch) | |
tree | c2744d6661967f5a2c128528d6ed51739556d906 /src/infrastructure/guix/system.scm | |
parent | Makefile: Also upload managed SSH known_hosts file (diff) | |
download | toph-7ffcd694068d484842be0b87a9aeeda0a7720568.tar.gz toph-7ffcd694068d484842be0b87a9aeeda0a7720568.tar.xz |
Manage public SSH files as "extra-etc-file" instead of like a secret
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show 7ffcd694068d484842be0b87a9aeeda0a7720568
git notes --ref=refs/notes/ci-data show 7ffcd694068d484842be0b87a9aeeda0a7720568
Exit status: 0
Duration: 15
Diffstat (limited to 'src/infrastructure/guix/system.scm')
-rw-r--r-- | src/infrastructure/guix/system.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index 3d340e5..d591c2b 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -409,10 +409,12 @@ "#))))))) (service cgit-service-type queue:cgit-pre-configuration) (simple-service 'extra-etc-file etc-service-type - `(("rc" ,(plain-file "rc.sh" (file "src/infrastructure/config/rc.sh"))) - ("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"))))) + `(("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"))) + ("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"))))) (service git-daemon-service-type (git-daemon-configuration (export-all? #t))) |