feat: Added icons for homepage

This commit is contained in:
uttarayan21
2025-07-25 15:42:16 +05:30
parent c8665b9205
commit 6a6fc0dbea
19 changed files with 119 additions and 66 deletions

View File

@@ -1,20 +1,31 @@
{config, ...}: {
services.searx = {
enable = true;
# configureUwsgi = true;
# uwsgiConfig = {
# socket = "/run/searx/searx.sock";
# chmod-socket = "660";
# };
settings = {
server = {
port = "8889";
secret_key = "foobar";
base_url = "https://search.darksailor.dev";
};
{
config,
pkgs,
...
}: {
systemd.services.websurfx = {
description = "Websurfx";
wantedBy = ["multi-user.target"];
after = ["network.target"];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.websurfx}/bin/websurfx";
Restart = "always";
RestartSec = 5;
User = "websurfx";
Group = "websurfx";
};
};
users.users.websurfx = {
group = "websurfx";
home = "/var/lib/websurfx";
isSystemUser = true;
# uid = config.ids.uids.websurfx;
};
users.groups.websurfx = {
# gid = config.ids.gids.websurfx;
};
services.caddy.virtualHosts."search.darksailor.dev".extraConfig = ''
reverse_proxy localhost:8889
reverse_proxy localhost:8080
'';
}