Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132333435{ lib, ... }:let inherit (lib) mkOption types;
moduleWithKey = { key = "disable-module-with-key.nix#moduleWithKey"; config = { enable = true; }; };in{ options = { positive = mkOption { type = types.submodule { imports = [ ./declare-enable.nix moduleWithKey ]; }; default = { }; }; negative = mkOption { type = types.submodule { imports = [ ./declare-enable.nix moduleWithKey ]; disabledModules = [ moduleWithKey ]; }; default = { }; }; };}