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:
parent
ed92c3df99
commit
9a0c9c615c
4 changed files with 13 additions and 2 deletions
|
@ -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
|
||||||
|
|
10
machines/public-cof/lychee.nix
Normal file
10
machines/public-cof/lychee.nix
Normal 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}";
|
||||||
|
};
|
||||||
|
}
|
|
@ -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": {
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue