X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fsyden%2Fpeertube.nix;h=5732928526b27661244bae3d37262e937d08e73e;hp=b17e775b3617873808dda56bda06805ec1b11522;hb=ce95026934c4ea8c647365f68eb195459fcdff08;hpb=a8c07adeba119ae315b4a8fc5e0501d05f2b8e79 diff --git a/modules/private/websites/syden/peertube.nix b/modules/private/websites/syden/peertube.nix index b17e775..5732928 100644 --- a/modules/private/websites/syden/peertube.nix +++ b/modules/private/websites/syden/peertube.nix @@ -3,7 +3,7 @@ let scfg = config.myServices.websites.syden.peertube; name = "peertube"; dataDir = "/var/lib/syden_peertube"; - package = pkgs.webapps.peertube.override { sendmail = true; syden = true; light = "fr-FR"; }; + package = (pkgs.mylibs.flakeCompat ../../../../flakes/private/peertube).default; env = config.myEnv.tools.syden_peertube; in { @@ -12,6 +12,7 @@ in config = lib.mkIf scfg.enable { services.duplyBackup.profiles.syden_peertube = { rootDir = dataDir; + remotes = ["eriomem" "ovh"]; }; users.users.peertube = { uid = config.ids.uids.peertube; @@ -64,6 +65,7 @@ in captions: '${dataDir}/storage/captions/' cache: '${dataDir}/storage/cache/' plugins: '${dataDir}/storage/plugins/' + client_overrides: '${dataDir}/storage/client-overrides/' ''; }];