diff --git a/nixos/default.nix b/nixos/default.nix index 4628d1f2d..40aea9353 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -44,6 +44,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: