summaryrefslogtreecommitdiff
path: root/tw/services.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-02-18 00:27:17 +0100
committerTimo Wilken2023-02-18 00:43:22 +0100
commit7044c9b52f9c6b7aa2a006f09198fe98addcfc9d (patch)
treee9b833d17091182c9ceb309cc2267c239f02cb50 /tw/services.scm
parent2e1998111667216351a4189be9f56b24743fe6a7 (diff)
Extract common service sets into separate modules
Common service sets (NextCloud, Matrix, WireGuard) should be in their own modules to make things neater, instead of being interleaved with operating system declarations.
Diffstat (limited to 'tw/services.scm')
-rw-r--r--tw/services.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tw/services.scm b/tw/services.scm
new file mode 100644
index 00000000..2ef11298
--- /dev/null
+++ b/tw/services.scm
@@ -0,0 +1,6 @@
+(define-module (tw services)
+ #:use-module (guix gexp))
+
+(define-public %httpd-cert-deploy-hook
+ (program-file "httpd-cert-deploy-hook"
+ #~(kill (call-with-input-file "/var/run/httpd" read) SIGHUP)))