feat(hostSpec): add extraCfg to hostSpec and imports to nixosSystem

This commit is contained in:
Mohammad Rafiq 2025-07-06 05:31:20 +08:00
parent 7155c1276d
commit 7f6c65320a
No known key found for this signature in database
2 changed files with 12 additions and 9 deletions

View file

@ -19,7 +19,8 @@ let
name = hostName;
value = lib.nixosSystem {
specialArgs = { inherit inputs hostName; };
modules = [ value ];
#TODO: add profiles system
modules = [ value.extraCfg or { } ];
};
};
in