feat(nixos): add common nixos profile; move hostspec config

This commit is contained in:
Mohammad Rafiq 2025-07-06 05:40:06 +08:00
parent 6a1aa5f30b
commit 4baf606551
No known key found for this signature in database
3 changed files with 18 additions and 14 deletions

View file

@ -20,7 +20,10 @@ let
value = lib.nixosSystem {
specialArgs = { inherit inputs hostName; };
#TODO: add profiles system
modules = [ value.extraCfg or { } ];
modules = [
config.flake.profiles.nixos.common
(value.extraCfg or { })
] ++ (value.profiles or [ ]);
};
};
in