aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure/guix/system.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-20 09:46:20 -0300
committerEuAndreh <eu@euandre.org>2023-03-20 10:03:17 -0300
commit7ffcd694068d484842be0b87a9aeeda0a7720568 (patch)
treec2744d6661967f5a2c128528d6ed51739556d906 /src/infrastructure/guix/system.scm
parentMakefile: Also upload managed SSH known_hosts file (diff)
downloadserver-7ffcd694068d484842be0b87a9aeeda0a7720568.tar.gz
server-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.scm10
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)))