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 ./garage.nix
./nextcloud.nix ./nextcloud.nix
./outline.nix ./outline.nix
./lychee.nix
./minecraft.nix ./minecraft.nix
# ./rstudio-server # ./rstudio-server
./nur.nix ./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": { "klubrz-nur": {
"branch": "main", "branch": "main",
"repo": "https://git.rz.ens.wtf/Klub-RZ/nur", "repo": "https://git.rz.ens.wtf/Klub-RZ/nur",
"rev": "98911e21fd58f00440dc8a5bd6568f2a349338bd", "rev": "9c43904eb242455ca3db9466c5679c81aa92741f",
"type": "git" "type": "git"
}, },
"niv": { "niv": {

View file

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