mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 11:18:17 +00:00
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:
commit
915f1c0cdb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user