(◕ᴥ◕)

Results 34 comments of (◕ᴥ◕)
trafficstars

`self.nixosModules.default` should propagate `inputs` and `moduleArgs` for `outputs`, so non-flakelight users could use it. I don't know if it can be generically implemented or not, here is a working example,...

@accelbread Thanks for pointing out the `lib.setFunctionArgs` function, didn't know that. I have generalized the wrapper code to be, https://github.com/ratson/bug-report/blob/f9e2bd01f644756953f10443343e10934cdac367/flake1/flake.nix#L29-L34 ```nix nixosModules.wrapped = let f = lib.toFunction import ./nix/nixosModules/_default.nix; g...

Right now, I am putting all modules requires `inputs` in `flake.nix` as suggested, ```nix nixosModules = { inputs, ... }: { default = { pkgs, ... }: { environment.systemPackages =...

Thanks for the detailed answer and the updates. Feel free to close the issue.