add flakeArg as specialArgs for nixos configs

main
Felix Stupp 2 months ago
parent 58282a4f21
commit 3cfd470553
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -30,6 +30,7 @@
outputs = { self, ... }@inputs:
let
inherit (self) outputs;
flakeArg = { inherit self inputs outputs; };
# constants
system = "x86_64-linux";
# package repositories
@ -50,6 +51,9 @@
outputs.nixosModules.myOptions
outputs.nixosModules.withDepends
] ++ modules;
specialArgs = {
flake = flakeArg;
};
inherit system;
};
in

Loading…
Cancel
Save