all repos — searchix @ 333bd2fbd16fc12c36e1b1d5b5bffdf065585fa8

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix: sources disabled by default in NixOS module Fixes: https://todo.sr.ht/~alanpearce/searchix/12

Alan Pearce
commit

333bd2fbd16fc12c36e1b1d5b5bffdf065585fa8

parent

8e40b727829856bf1544c95ffa3016aa96ef5bf8

1 file changed, 5 insertions(+), 2 deletions(-)

jump to
M nix/modules/default.nixnix/modules/default.nix
@@ -154,7 +154,7 @@ };
}; importer = mkOption { - default = { }; + default = defaults.Importer; type = types.submodule { freeformType = settingsFormat.type;
@@ -180,7 +180,10 @@ type = with types;
attrsOf (submodule (import ./source-options.nix { inherit cfg settingsFormat; })); - default = defaults.Importer.Sources; + default = { + nixos.enable = true; + nixpkgs.enable = true; + }; description = "Declarative specification of options sources for searchix."; }; };