I'm using
let
exModule = {example, ...}:{
}
--- in above
mkflake
I've tried using
flake.flakemodules=
flake.flakemodule.default =
flake.generic =...
= exModule;
I've imported the modules module, and the flakemodules module, and it still doesn't seem to put everything where I expect it in the outputs?
It just seems really... oddly confusing to try to export a generic module properly, if it's not a nixos or home-manager module.
Especially when you also want to "dogfood for testing", avoid using "imports = [];" brokenness, while also trying not to force any of your inputs on a user.
The example usage of it in the docs actually shows a nixos module instead.
I'm using
I've tried using
flake.flakemodules=flake.flakemodule.default =flake.generic =...= exModule;I've imported the modules module, and the flakemodules module, and it still doesn't seem to put everything where I expect it in the outputs?
It just seems really... oddly confusing to try to export a generic module properly, if it's not a nixos or home-manager module.
Especially when you also want to "dogfood for testing", avoid using "imports = [];" brokenness, while also trying not to force any of your inputs on a user.
The example usage of it in the docs actually shows a nixos module instead.