mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/jenkins/slave: fix eval
This commit is contained in:
parent
79de730e77
commit
2af959e579
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf (cfg.enable && !masterCfg.enable) {
|
||||
users.groups = optional (cfg.group == "jenkins") {
|
||||
users.groups = optionalAttrs (cfg.group == "jenkins") {
|
||||
jenkins.gid = config.ids.gids.jenkins;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue