nixos/gitlab-runner: undeprecate configFile option
This commit is contained in:
parent
b4028126f1
commit
9b1db3db0e
|
@ -457,8 +457,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
warnings = (mapAttrsToList
|
||||
(n: v: "services.gitlab-runner.services.${n}.`registrationConfigFile` points to a file in Nix Store. You should use quoted absolute path to prevent this.")
|
||||
(filterAttrs (n: v: isStorePath v.registrationConfigFile) cfg.services))
|
||||
++ optional (cfg.configFile != null) "services.gitlab-runner.`configFile` is deprecated, please use services.gitlab-runner.`services`.";
|
||||
(filterAttrs (n: v: isStorePath v.registrationConfigFile) cfg.services));
|
||||
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
systemd.services.gitlab-runner = {
|
||||
|
|
Loading…
Reference in a new issue