This commit is contained in:
2024-03-29 18:07:24 -06:00
parent 3a99fc2b03
commit e30e3b45fc

View File

@@ -920,7 +920,6 @@ environment = {
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
# virt-manager # virt-manager
# docker-compose
wget wget
gwe gwe
]; ];
@@ -1056,6 +1055,25 @@ services = {
httpListenAddr = "0.0.0.0"; httpListenAddr = "0.0.0.0";
directoryRoot = "/resilio"; 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 #+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 programs.dconf.enable = true; # virt-manager requires dconf to remember settings
virtualisation = { virtualisation = {
libvirtd.enable = false; libvirtd.enable = false;
# docker = {
# enable = true;
# enableNvidia = true;
# autoPrune = {
# enable = true;
# flags = [ "--all" ];
# dates = "weekly";
# };
# };
}; };
#+end_src #+end_src