feat(configurations): add darwin config support

This commit is contained in:
Mohammad Rafiq 2025-07-09 06:36:42 +08:00
parent c21f7efecd
commit 9cb4542b05
No known key found for this signature in database
4 changed files with 14 additions and 3 deletions

View file

@ -74,9 +74,12 @@ in
type = lazyAttrsOf userOpts;
default = { };
};
hosts = mkOption {
# hosts.nixos, hosts.darwin, etc.
type = lazyAttrsOf (lazyAttrsOf hostOpts);
hosts.nixos = mkOption {
type = lazyAttrsOf hostOpts;
default = { };
};
hosts.darwin = mkOption {
type = lazyAttrsOf raw;
default = { };
};
};