nix-darwin: pass on warnings to the system configuration
(cherry picked from commit c2429ca0cf
)
This commit is contained in:
parent
14c5a22cfb
commit
2307cb280a
|
@ -39,6 +39,13 @@ in
|
|||
};
|
||||
|
||||
config = mkIf (cfg.users != {}) {
|
||||
warnings =
|
||||
flatten (flip mapAttrsToList cfg.users (user: config:
|
||||
flip map config.warnings (warning:
|
||||
"${user} profile: ${warning}"
|
||||
)
|
||||
));
|
||||
|
||||
assertions =
|
||||
flatten (flip mapAttrsToList cfg.users (user: config:
|
||||
flip map config.assertions (assertion:
|
||||
|
|
Loading…
Reference in a new issue