fix: sources disabled by default in NixOS module Fixes: https://todo.sr.ht/~alanpearce/searchix/12
1 file changed, 5 insertions(+), 2 deletions(-)
jump to
M nix/modules/default.nix → nix/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."; }; };