feat: introduce photos.ens.wtf

Co-authored-by: sinavir <sinavir@sinavir.fr>
Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/infrastructure/pulls/15
Co-authored-by: sinavir <maurice.debray@ens.fr>
Co-committed-by: sinavir <maurice.debray@ens.fr>
This commit is contained in:
sinavir 2022-12-13 22:23:35 +01:00 committed by Ryan Lahfa
parent ed92c3df99
commit 9a0c9c615c
4 changed files with 13 additions and 2 deletions

View file

@ -12,6 +12,7 @@
./garage.nix
./nextcloud.nix
./outline.nix
./lychee.nix
./minecraft.nix
# ./rstudio-server
./nur.nix

View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }: {
services.lychee = {
enable = true;
package = pkgs.rz.lychee-gallery;
forceSSL = true;
enableACME = true;
website = "photos.ens.wtf";
settings.APP_URL = "https://${config.services.lychee.website}";
};
}

View file

@ -14,7 +14,7 @@
"klubrz-nur": {
"branch": "main",
"repo": "https://git.rz.ens.wtf/Klub-RZ/nur",
"rev": "98911e21fd58f00440dc8a5bd6568f2a349338bd",
"rev": "9c43904eb242455ca3db9466c5679c81aa92741f",
"type": "git"
},
"niv": {

View file

@ -8,7 +8,7 @@ let
in
{
nixpkgs.config.packageOverrides = {
# rz = import rz-src { inherit pkgs; };
rz = import rz-src { inherit pkgs; };
};
imports = [