From 333bd2fbd16fc12c36e1b1d5b5bffdf065585fa8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 11 Mar 2025 20:07:16 +0100 Subject: fix: sources disabled by default in NixOS module Fixes: https://todo.sr.ht/~alanpearce/searchix/12 --- nix/modules/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nix/modules/default.nix b/nix/modules/default.nix index fdd2977..ee13960 100644 --- a/nix/modules/default.nix +++ b/nix/modules/default.nix @@ -154,7 +154,7 @@ in }; importer = mkOption { - default = { }; + default = defaults.Importer; type = types.submodule { freeformType = settingsFormat.type; @@ -180,7 +180,10 @@ in 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."; }; }; -- cgit 1.4.1