]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Fix peertube default configuration
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 10 Apr 2020 12:54:48 +0000 (14:54 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:56 +0000 (00:04 +0200)
modules/webapps/peertube.nix

index 281ff8bc8bbfbbbdd6953c17d0f7ad99648bdcc6..1d76e9b3b5f92862b7ac003fd98d7805756cd32e 100644 (file)
@@ -83,6 +83,7 @@ in
       script = ''
         install -m 0750 -d ${cfg.dataDir}/config
         ln -sf ${cfg.configFile} ${cfg.dataDir}/config/production.yaml
+        ln -sf ${cfg.package}/config/default.yaml ${cfg.dataDir}/config/default.yaml
         exec npm run start
       '';