From 1cfee15d258791bb03295b954ec565be7952aa60 Mon Sep 17 00:00:00 2001 From: Satria Date: Wed, 25 Mar 2026 16:36:02 +0700 Subject: [PATCH] remove unused services --- modules/system/homelab/dash.nix | 1 - modules/system/homelab/proxy.nix | 1 - modules/system/homelab/remote.nix | 19 ----------------- modules/system/homelab/share.nix | 34 ------------------------------- modules/system/server.nix | 1 - 5 files changed, 56 deletions(-) delete mode 100644 modules/system/homelab/remote.nix delete mode 100644 modules/system/homelab/share.nix diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index 97ddade..727faf4 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -78,7 +78,6 @@ [ "Ntfy" "ntfy" "https://notify.proxy.${homelab.domain}" "http://localhost:8067/" ] [ "SearXNG" "searxng" "https://search.proxy.${homelab.domain}" "http://localhost:8091/" ] [ "Dockge" "docker" "https://containers.proxy.${homelab.domain}" "http://localhost:5001/" ] - [ "Guacamole" "apacheguacamole" "https://remote.proxy.${homelab.domain}/guacamole" "http://localhost:8085/guacamole/" ] ]; bookmarks = [ [ "Tailscale" "tailscale" "https://login.tailscale.com/" ] diff --git a/modules/system/homelab/proxy.nix b/modules/system/homelab/proxy.nix index 10a6a32..f831f17 100644 --- a/modules/system/homelab/proxy.nix +++ b/modules/system/homelab/proxy.nix @@ -13,7 +13,6 @@ "gallery" = d "http://localhost:2283"; "dynamic" = d "http://localhost:8082"; - "remote" = d "http://localhost:8085"; "search" = d "http://localhost:8091"; "notify" = d "http://localhost:8067"; "media" = d "http://localhost:8096"; diff --git a/modules/system/homelab/remote.nix b/modules/system/homelab/remote.nix deleted file mode 100644 index c8b6671..0000000 --- a/modules/system/homelab/remote.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ ... }: { - services = { - guacamole-server = { - enable = true; - host = "127.0.0.1"; - port = 4822; - }; - guacamole-client = { - enable = true; - enableWebserver = true; - userMappingXml = "/mnt/data/guacamole/user-mapping.xml"; - settings = { - guacd-hostname = "127.0.0.1"; - guacd-port = 4822; - }; - }; - tomcat.port = 8085; - }; -} \ No newline at end of file diff --git a/modules/system/homelab/share.nix b/modules/system/homelab/share.nix deleted file mode 100644 index 6a01a39..0000000 --- a/modules/system/homelab/share.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ ... }: { - services = { - httpd = { - enable = true; - virtualHosts."cdn" = { - listen = [{ ip = "127.0.0.1"; port = 3000; }]; - documentRoot = "/mnt/share"; - }; - }; - - samba = { - enable = true; - settings = { - global = { - workgroup = "WORKGROUP"; - "disable netbios" = "yes"; - "allow insecure wide links" = "yes"; - "server min protocol" = "SMB2_02"; - }; - "NAS" = { - path = "/mnt/share"; - browseable = "yes"; - "read only" = "no"; - "create mask" = "0664"; - "force create mode" = "0664"; - "directory mask" = "0775"; - "force directory mode" = "0775"; - "follow symlinks" = "yes"; - "wide links" = "yes"; - }; - }; - }; - }; -} \ No newline at end of file diff --git a/modules/system/server.nix b/modules/system/server.nix index fd10d22..daa3747 100644 --- a/modules/system/server.nix +++ b/modules/system/server.nix @@ -11,7 +11,6 @@ in { ./homelab/containers.nix ./homelab/gallery.nix ./homelab/tunnels.nix - ./homelab/remote.nix ./homelab/notify.nix ./homelab/search.nix ./homelab/media.nix