system/settings/services/searchix.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 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;
};
};
};
}
|