nixos: expose all args to nixosSystem via _banananetwork_systemArgs

main
Felix Stupp 2 months ago
parent 796adc33a7
commit 450362e37a
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -13,13 +13,16 @@ let
outputs.nixosModules.withDepends
{ home-manager.sharedModules = [ outputs.homeManagerModules.default ]; }
] ++ modules;
in
nixpkgs.lib.nixosSystem {
modules = modsExtended;
specialArgs = {
flake = flakeArg;
systemArgs = {
modules = modsExtended;
# be aware: specialArgs will break in my nixos integration tests
inherit system;
};
inherit system;
in
nixpkgs.lib.nixosSystem systemArgs
// {
# expose module cleanly
_banananetwork_systemArgs = systemArgs;
};
in
{

Loading…
Cancel
Save