all repos — nixfiles @ 9bdcf14887d2188054060e1729b97d093dea2bfa

System and user configuration, managed by nix and home-manager

split searchix configuration from role

Alin
commit

9bdcf14887d2188054060e1729b97d093dea2bfa

parent

e73ff2535a3b0c5fe837ea439003961b4c5c87d4

1 file changed, 48 insertions(+), 0 deletions(-)

changed files
A system/settings/services/searchix.nix
@@ -0,0 +1,48 @@
+{ + inputs, + ... +}: +{ + imports = [ + inputs.searchix.nixosModules.web + ]; + + nixpkgs.overlays = [ + inputs.searchix.overlays.default + ]; + + services.searchix = { + enable = true; + settings = { + web = { + searchTimeout = "2s"; + gracefulShutdownTimeout = "2s"; + }; + + importer.sources = { + darwin = { + enable = true; + fetcher = "download"; + url = "https://alinnow.github.io/nix-options/darwin"; + }; + home-manager = { + enable = true; + fetcher = "download"; + url = "https://alinnow.github.io/nix-options/home-manager"; + }; + nixpkgs = { + enable = true; + fetcher = "channel-nixpkgs"; + channel = "nixos-unstable"; + timeout = "1h"; + }; + nixos = { + enable = true; + fetcher = "channel-nixpkgs"; + channel = "nixos-unstable"; + }; + nur.enable = true; + }; + }; + }; +}