all repos — nixfiles @ 508293d8d37548c2373f27adf9d869c24a10d018

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

extract non-container-specific stable searchix configuration

Alin
commit

508293d8d37548c2373f27adf9d869c24a10d018

parent

196fe94c67605d6349c4d18136d0bce185434021

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

changed files
M system/roles/searchix-stable-container.nix → system/roles/searchix-stable-container.nix
@@ -14,15 +14,15 @@ ];
containers.searchix-stable = { autoStart = true; + specialArgs = { inherit inputs; }; config = { imports = [ - inputs.searchix.nixosModules.web + ../settings/services/searchix-stable.nix ]; system.stateVersion = stableVersion; services.searchix = { - enable = true; environment = { GOMEMLIMIT = "1000MiB"; };
@@ -30,45 +30,6 @@ settings = {
web = { baseURL = "https://stable.searchix.ovh"; port = 51314; - searchTimeout = "2s"; - gracefulShutdownTimeout = "2s"; - otherInstance = { - name = "Searchix Unstable"; - url = "https://searchix.ovh"; - }; - }; - - importer = { - timeout = "45m"; - updateAt = "07:00:00"; - batchSize = 2000; - sources = { - nixpkgs = { - enable = true; - fetcher = "channel-nixpkgs"; - channel = "nixos-${stableVersion}"; - timeout = "30m"; - manpages = { - enable = true; - path = "/doc/manpage-urls.json"; - }; - }; - nixos = { - enable = true; - fetcher = "channel-nixpkgs"; - channel = "nixos-${stableVersion}"; - }; - darwin = { - enable = true; - fetcher = "download"; - url = "https://alinnow.github.io/nix-options/nix-darwin-stable"; - }; - home-manager = { - enable = true; - fetcher = "download"; - url = "https://alinnow.github.io/nix-options/home-manager-stable"; - }; - }; }; }; };