searxng
This commit is contained in:
@@ -920,7 +920,6 @@ environment = {
|
||||
};
|
||||
systemPackages = with pkgs; [
|
||||
# virt-manager
|
||||
# docker-compose
|
||||
wget
|
||||
gwe
|
||||
];
|
||||
@@ -1056,6 +1055,25 @@ services = {
|
||||
httpListenAddr = "0.0.0.0";
|
||||
directoryRoot = "/resilio";
|
||||
};
|
||||
searx = {
|
||||
enable = true;
|
||||
package = pkgs.searxng;
|
||||
runInUwsgi = true;
|
||||
redisCreateLocally = true;
|
||||
settings = {
|
||||
server = {
|
||||
port = 8888;
|
||||
bind_address = "0.0.0.0";
|
||||
secret_key = "wowaweewa";
|
||||
};
|
||||
};
|
||||
uwsgiConfig = {
|
||||
disable-logging = true;
|
||||
http = ":8888"; # serve via HTTP...
|
||||
socket = "/run/searx/searx.sock"; # ...or UNIX socket
|
||||
chmod-socket = "660"; # allow the searx group to read/write to the socket
|
||||
};
|
||||
};
|
||||
};
|
||||
#+end_src
|
||||
|
||||
@@ -1171,15 +1189,6 @@ On this section, you can also add virtual machines settings.
|
||||
programs.dconf.enable = true; # virt-manager requires dconf to remember settings
|
||||
virtualisation = {
|
||||
libvirtd.enable = false;
|
||||
# docker = {
|
||||
# enable = true;
|
||||
# enableNvidia = true;
|
||||
# autoPrune = {
|
||||
# enable = true;
|
||||
# flags = [ "--all" ];
|
||||
# dates = "weekly";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
#+end_src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user