diff options
Diffstat (limited to 'tw/system')
-rw-r--r-- | tw/system/lud.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tw/system/lud.scm b/tw/system/lud.scm index 846f29d0..1fa2ca57 100644 --- a/tw/system/lud.scm +++ b/tw/system/lud.scm @@ -13,7 +13,7 @@ (use-package-modules admin bash certs databases linux man php python rsync shells tls tor video) (use-service-modules certbot databases file-sharing mcron monitoring - networking pm ssh syncthing vpn web) + networking pm ssh syncthing version-control vpn web) (define efi-system-partition ; /dev/sda1 (uuid "51F3-FB71" 'fat32)) @@ -87,6 +87,14 @@ SSLSessionCacheTimeout 1200 (thermald-configuration (adaptive? #t))) + ;; Allow anonymous git access via Wireguard, e.g. to this channel's git repo. + ;; Repos are only published if they contain a `git-daemon-export-ok' file. + (service git-daemon-service-type + (git-daemon-configuration + (listen (list (server-wireguard-address host-name))) + ;; git://lud.wg/~user/repo.git => /home/user/src/repo.git + (user-path "src"))) + ;; Transmission (torrents) (service transmission-daemon-service-type (transmission-daemon-configuration |