diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-01-23 23:26:11 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-01-24 00:12:09 +0100 |
commit | 3d11eafc9c516321901908338befe4c04b58f3aa (patch) | |
tree | e16d8e92eeabfb834424772b71e8833e864e4849 /modules/private/websites | |
parent | ce95026934c4ea8c647365f68eb195459fcdff08 (diff) | |
download | Nix-3d11eafc9c516321901908338befe4c04b58f3aa.tar.gz Nix-3d11eafc9c516321901908338befe4c04b58f3aa.tar.zst Nix-3d11eafc9c516321901908338befe4c04b58f3aa.zip |
Use peertube flake in modules
Diffstat (limited to 'modules/private/websites')
-rw-r--r-- | modules/private/websites/syden/peertube.nix | 2 | ||||
-rw-r--r-- | modules/private/websites/tools/peertube/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/private/websites/syden/peertube.nix b/modules/private/websites/syden/peertube.nix index 5732928..aa465d7 100644 --- a/modules/private/websites/syden/peertube.nix +++ b/modules/private/websites/syden/peertube.nix | |||
@@ -3,7 +3,7 @@ let | |||
3 | scfg = config.myServices.websites.syden.peertube; | 3 | scfg = config.myServices.websites.syden.peertube; |
4 | name = "peertube"; | 4 | name = "peertube"; |
5 | dataDir = "/var/lib/syden_peertube"; | 5 | dataDir = "/var/lib/syden_peertube"; |
6 | package = (pkgs.mylibs.flakeCompat ../../../../flakes/private/peertube).default; | 6 | package = (pkgs.mylibs.flakeCompat ../../../../flakes/private/peertube).packages.x86_64-linux.peertube_syden; |
7 | env = config.myEnv.tools.syden_peertube; | 7 | env = config.myEnv.tools.syden_peertube; |
8 | in | 8 | in |
9 | { | 9 | { |
diff --git a/modules/private/websites/tools/peertube/default.nix b/modules/private/websites/tools/peertube/default.nix index 3345453..9c5ef5a 100644 --- a/modules/private/websites/tools/peertube/default.nix +++ b/modules/private/websites/tools/peertube/default.nix | |||
@@ -15,7 +15,6 @@ in { | |||
15 | services.peertube = { | 15 | services.peertube = { |
16 | enable = true; | 16 | enable = true; |
17 | configFile = "/var/secrets/webapps/tools-peertube"; | 17 | configFile = "/var/secrets/webapps/tools-peertube"; |
18 | package = pkgs.webapps.peertube.override { ldap = true; sendmail = true; light = "fr-FR"; }; | ||
19 | }; | 18 | }; |
20 | users.users.peertube.extraGroups = [ "keys" ]; | 19 | users.users.peertube.extraGroups = [ "keys" ]; |
21 | 20 | ||
@@ -73,6 +72,7 @@ in { | |||
73 | captions: '${pcfg.dataDir}/storage/captions/' | 72 | captions: '${pcfg.dataDir}/storage/captions/' |
74 | cache: '${pcfg.dataDir}/storage/cache/' | 73 | cache: '${pcfg.dataDir}/storage/cache/' |
75 | plugins: '${pcfg.dataDir}/storage/plugins/' | 74 | plugins: '${pcfg.dataDir}/storage/plugins/' |
75 | client_overrides: '${pcfg.dataDir}/storage/client-overrides/' | ||
76 | ''; | 76 | ''; |
77 | }]; | 77 | }]; |
78 | 78 | ||