Merge pull request #221816 from talyz/gitlab-pages-fix-disabled

nixos/gitlab: Fix error when GitLab Pages is not enabled
This commit is contained in:
Robert Hensing 2023-03-19 00:22:46 +01:00 committed by GitHub
commit 915f1c0cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ let
};
extra = {};
uploads.storage_path = cfg.statePath;
pages = {
pages = optionalAttrs cfg.pages.enable {
enabled = cfg.pages.enable;
port = 8090;
host = cfg.pages.settings.pages-domain;