shared: move shack config to shack/
This commit is contained in:
parent
7540c3cb1b
commit
0f7ba34fa1
24
2configs/deployment/hound/default.nix
Normal file
24
2configs/deployment/hound/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."wikisearch.krebsco.de".locations."/".proxyPass = "http://localhost:6080";
|
||||
services.hound = {
|
||||
enable = true;
|
||||
listen = "127.0.0.1:6080";
|
||||
# package = pkgs.hound.overrideDerivation(oldAttrs: {
|
||||
# patches = [ ./keep-repo.patch ];
|
||||
# });
|
||||
config = ''{
|
||||
"max-concurrent-indexers" : 2,
|
||||
"dbpath" : "${config.services.hound.home}/data",
|
||||
"repos" : {
|
||||
"nixos-users-wiki": {
|
||||
"url" : "https://github.com/nixos-users/wiki.wiki.git",
|
||||
"url-pattern" : {
|
||||
"base-url" : "{url}/{path}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}'';
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue