From d1cf49bb83207b8f3783d5bdccbe37096578600d Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 24 May 2023 21:37:16 +0100 Subject: [PATCH] gitlab: would like to use ee, but sadly too expensive --- applications/gitlab.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/applications/gitlab.nix b/applications/gitlab.nix index 6ae794b..b7e6960 100644 --- a/applications/gitlab.nix +++ b/applications/gitlab.nix @@ -107,8 +107,15 @@ locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; }; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + # "gitlab-ee" + ]; + services.gitlab = { enable = true; + + #packages.gitlab = pkgs.gitlab-ee; + databasePasswordFile = config.age.secrets.gitlab_db_pw.path; initialRootPasswordFile = config.age.secrets.gitlab_pw.path; https = true;