mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
nix: only include build-users-group if the nix-daemon service is enabled
This commit is contained in:
parent
2c970bdad9
commit
e925a2d50e
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ let
|
|||
# WARNING: this file is generated from the nix.* options in
|
||||
# your NixOS configuration, typically
|
||||
# /etc/nixos/configuration.nix. Do not edit it!
|
||||
build-users-group = nixbld
|
||||
${optionalString (config.services.nix-daemon.enable) ''
|
||||
build-users-group = nixbld
|
||||
''}
|
||||
build-max-jobs = ${toString (cfg.maxJobs)}
|
||||
build-cores = ${toString (cfg.buildCores)}
|
||||
build-use-sandbox = ${if (builtins.isBool cfg.useSandbox) then (if cfg.useSandbox then "true" else "false") else cfg.useSandbox}
|
||||
|
|
Loading…
Add table
Reference in a new issue