We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideally, the delib.module should work with two variants at the same time
delib.module
Before
delib.module { name = "programs.swww"; options.programs.swww = with delib; { enable = boolOption true; #TODO default false enableCommands = boolOption true; }; myconfig.ifEnabled = {cfg, ...}: { commands.onWindowManager = lib.mkIf cfg.enableCommands [ "swww-daemon" ]; }; home.ifEnabled.home.packages = [pkgs.swww]; }
After
delib.module "programs.swww" (cfg: { options.programs.swww = with delib; { enable = boolOption true; enableCommands = boolOption true; }; myconfig.ifEnabled.commands.onWindowManager = lib.mkIf cfg.enableCommands [ "swww-daemon" ]; home.ifEnabled.home.packages = [pkgs.swww]; })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ideally, the
delib.module
should work with two variants at the same timeBefore
After
The text was updated successfully, but these errors were encountered: