mirror of https://gitlab.crans.org/nounous/nixos
Fix problème CSP
parent
1998ca8b2e
commit
6497e4ee23
|
@ -34,6 +34,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
users.users.nginx.extraGroups = [ "peertube" ];
|
||||
|
||||
systemd.services.peertube = {
|
||||
serviceConfig = {
|
||||
SystemCallFilter = lib.mkForce [ ];
|
||||
|
@ -130,13 +132,13 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
csp.enabled = true;
|
||||
csp.enabled = false;
|
||||
history.videos.max_age = "4 years";
|
||||
geo_ip.enabled = false;
|
||||
|
||||
webadmin.configuration.edition.allowed = false;
|
||||
|
||||
admin.email = "contact@crans.org";
|
||||
admin.email = "root@crans.org";
|
||||
|
||||
user = {
|
||||
video_quota = "10GB";
|
||||
|
@ -152,7 +154,7 @@ in
|
|||
"480p" = true;
|
||||
"1080p" = true;
|
||||
};
|
||||
always_transcode_original_resolution = false;
|
||||
always_transcode_original_resolution = true;
|
||||
hls = {
|
||||
enabled = true;
|
||||
split_audio_and_video = true;
|
||||
|
@ -200,6 +202,10 @@ in
|
|||
short_description = "Instance Peertube du Crans.";
|
||||
description = ''
|
||||
Bienvenue sur l'instance [Peertube](https://joinpeertube.org) du [Crans](https://crans.org) !
|
||||
|
||||
Le Crans est l'association réseau de l'ENS Paris-Saclay, qui fournit
|
||||
des services numériques et une couverture internet filaire aux
|
||||
associations et clubs de l'ENS Paris-Saclay.
|
||||
'';
|
||||
code_of_conduct = "Soyez sympas sinon conséquences.";
|
||||
administrator = "Les membres actif⋅ves du Crans";
|
||||
|
@ -216,12 +222,6 @@ in
|
|||
|
||||
theme = {
|
||||
default = "default";
|
||||
|
||||
customization = {
|
||||
primary_color = "#AD1F1F";
|
||||
background_color = "#1F2424";
|
||||
background_secondary_color = "#1F95AD";
|
||||
};
|
||||
};
|
||||
|
||||
broadcast_message = {
|
||||
|
|
Loading…
Reference in New Issue