You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to mark certain modules defined in my flake as not imported to all systems by default.
Currently, I have a module that configures a buildbot-nix worker. However, this means that I also have to add buildbot-nix.nixosModules.buildbot-worker to systems.modules.nixos so that all systems pick it up. This increases evaluation time and is also a lot "dirtier" in terms of what I'm importing, since most machines will not have the buildbot worker on them. Therefore, if I could mark a module as non-importable somehow, I could make it so that only machines that will run a worker will import this, and by extension, also the buildbot-worker module from buildbot-nix. Is this possible at all with snowfall?
The text was updated successfully, but these errors were encountered:
Yes, what I want to do is to make it so that self.nixosModules."services/buildbot"(which is defined in my flake) is not imported to all systems by default(which happens with all systems by default, per the first line of the Modules doc page), as it then requires me to import buildbot-nix.nixosModules.buildbot-worker to all systems.
I would like to be able to mark certain modules defined in my flake as not imported to all systems by default.
Currently, I have a module that configures a buildbot-nix worker. However, this means that I also have to add
buildbot-nix.nixosModules.buildbot-worker
tosystems.modules.nixos
so that all systems pick it up. This increases evaluation time and is also a lot "dirtier" in terms of what I'm importing, since most machines will not have the buildbot worker on them. Therefore, if I could mark a module as non-importable somehow, I could make it so that only machines that will run a worker will import this, and by extension, also the buildbot-worker module from buildbot-nix. Is this possible at all with snowfall?The text was updated successfully, but these errors were encountered: