Build new nix {module,package,flake}. Adapt to new config variables

Co-authored-by: h7x4 <h7x4@nani.wtf>
This commit is contained in:
2024-03-23 21:03:21 +01:00
committed by Felix Albrigtsen
parent 310246dd20
commit f5a6868301
16 changed files with 1681 additions and 99 deletions

View File

@@ -19,7 +19,7 @@ if(!$loginname) {
}
# Sourced from config.php through include.php
$galleryDir = $GALLERY_DIRECTORY;
$galleryDir = $GALLERY_DIR;
$serverPath = $GALLERY_SERVER_PATH;
$allowedExtensions = ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'svg', 'webp'];