summaryrefslogtreecommitdiff
path: root/tw/system/lud.scm
diff options
context:
space:
mode:
authorTimo Wilken2023-02-19 00:24:10 +0100
committerTimo Wilken2023-02-19 14:26:41 +0100
commit0827e1f457f8abda7bd1c82dedfc30f4f1ddbe44 (patch)
tree18c8aaf83e95789474916d9c4128c59bf7b8b5f7 /tw/system/lud.scm
parent5ef490387f47bd1f1ed07fb89aa1112b6ade24c8 (diff)
Add yt-dlp service
Diffstat (limited to 'tw/system/lud.scm')
-rw-r--r--tw/system/lud.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/tw/system/lud.scm b/tw/system/lud.scm
index b770fc90..97cef45a 100644
--- a/tw/system/lud.scm
+++ b/tw/system/lud.scm
@@ -7,6 +7,7 @@
#:use-module (tw packages php)
#:use-module (tw services nextcloud)
#:use-module (tw services matrix)
+ #:use-module (tw services media)
#:use-module (tw system))
(use-package-modules admin bash certs databases linux man php python rsync
@@ -112,6 +113,12 @@ SSLSessionCacheTimeout 1200
(user "syncthing")
(group "syncthing")))
+ (service yt-dlp-service-type
+ (yt-dlp-configuration
+ (media-directory "/var/data/syncthing/Videos")
+ (user "syncthing")
+ (group "syncthing")))
+
;; certbot for Synapse + Apache/Nextcloud
;; This also installs a nginx server on port 80, redirecting to port 443.
(service certbot-service-type