flake: restructure code for nixosConfig wrapper

main
Felix Stupp 2 months ago
parent 3b21f3e9d5
commit dbfd5c5058
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -58,13 +58,17 @@
nixosConfigurations =
let
nixpkgs = inputs.nixpkgs;
nixosSystem =
{ modules, system }:
inputs.nixpkgs.lib.nixosSystem {
modules = [
let
modsExtended = [
outputs.nixosModules.myOptions
outputs.nixosModules.withDepends
] ++ modules;
in
nixpkgs.lib.nixosSystem {
modules = modsExtended;
specialArgs = {
flake = flakeArg;
};

Loading…
Cancel
Save