diff options
author | EuAndreh <eu@euandre.org> | 2024-08-21 13:11:52 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-21 14:51:58 -0300 |
commit | 1a746358768cd84eaa32f0066a6791cd8380ad70 (patch) | |
tree | 272837745888d5aa7ab412a6d3e063f0b78cacd9 /src/guix/system.scm | |
parent | mv src/tld.txt src/config/ (diff) | |
download | toph-1a746358768cd84eaa32f0066a6791cd8380ad70.tar.gz toph-1a746358768cd84eaa32f0066a6791cd8380ad70.tar.xz |
src/config/offsite-ssh.txt: Derive from Makefile and include in /etc/
Diffstat (limited to 'src/guix/system.scm')
-rw-r--r-- | src/guix/system.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/guix/system.scm b/src/guix/system.scm index 17028d3..5898531 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -38,6 +38,10 @@ ((compose pkg:slurp path) "src/config/known-hosts.txt")) +(define +offsite-ssh+ + ((compose pkg:slurp path) + "src/config/offsite-ssh.txt")) + (define package-symbols @@ -134,8 +138,9 @@ (service q:cyrus-sasl-service-type) (service q:dovecot-service-type) (service q:internet-postfix-service-type) - (simple-service 'known-hosts-etc-file etc-service-type - `(("known_hosts" ,(plain-file "known-hosts.txt" +known-hosts+)))) + (simple-service 'host-specific-etc-file etc-service-type + `(("known_hosts" ,(plain-file "known-hosts.txt" +known-hosts+)) + ("offsite-ssh.txt" ,(plain-file "offsite-ssh.txt" +offsite-ssh+)))) (service mail-aliases-service-type '(("root" "andreh") ("eu" "andreh") |