fixs nixos 20.09
This commit is contained in:
parent
40b035492e
commit
c2142d236e
6 changed files with 26 additions and 20 deletions
|
@ -147,7 +147,7 @@ in
|
|||
'';
|
||||
};
|
||||
} // { default = true; };
|
||||
"riot.nyanlout.re" = base { "/" = { root = pkgs.riot-web; }; };
|
||||
"riot.nyanlout.re" = base { "/" = { root = pkgs.element-web; }; };
|
||||
"factorio.nyanlout.re" = base { "/" = { root = "/var/www/factorio"; }; };
|
||||
"minecraft.nyanlout.re" = base { "/" = { root = "/var/www/minecraft-overviewer"; }; };
|
||||
"musique-meyenheim.fr" = base {
|
||||
|
@ -225,9 +225,9 @@ in
|
|||
|
||||
postgresql = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
full_page_writes = off
|
||||
'';
|
||||
settings = {
|
||||
full_page_writes = false;
|
||||
};
|
||||
};
|
||||
|
||||
pgmanage = {
|
||||
|
@ -249,13 +249,10 @@ in
|
|||
passwordFile = "/var/lib/gitea/custom/conf/database_password";
|
||||
};
|
||||
log.level = "Warn";
|
||||
extraConfig = ''
|
||||
[ui]
|
||||
DEFAULT_THEME = arc-green
|
||||
|
||||
[service]
|
||||
DISABLE_REGISTRATION = true
|
||||
'';
|
||||
disableRegistration = true;
|
||||
settings = {
|
||||
ui.DEFAULT_THEME = "arc-green";
|
||||
};
|
||||
};
|
||||
|
||||
python-ci.enable = true;
|
||||
|
@ -277,6 +274,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services.nginx.serviceConfig = {
|
||||
ReadWritePaths = "/var/www/hls";
|
||||
};
|
||||
|
||||
systemd.services.site-musique = let
|
||||
djangoEnv =(pkgs.python3.withPackages (ps: with ps; [ gunicorn django_2_2 pillow setuptools ]));
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue