diff --git a/aspects/hosts/_alexandria/open-webui.nix b/aspects/hosts/_alexandria/open-webui.nix deleted file mode 100644 index fecab49..0000000 --- a/aspects/hosts/_alexandria/open-webui.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, config, inputs, ... }: -let - mkNginxVHosts = inputs.self.lib.mkNginxVHosts; -in -{ - nixpkgs.overlays = [ - (final: prev: { - open-webui = (import inputs.nixpkgs { - inherit (prev) system; - config.allowUnfree = true; - }).open-webui; - }) - ]; - - services.open-webui = { - enable = true; - environment = { - SCARF_NO_ANALYTICS = "True"; - DO_NOT_TRACK = "True"; - ANONYMIZED_TELEMETRY = "False"; - }; - }; - - services.nginx.virtualHosts = mkNginxVHosts { - domains."ai.baduhai.dev".locations."/".proxyPass = "http://127.0.0.1:8080/"; - }; -} diff --git a/aspects/hosts/_alexandria/silverbullet.nix b/aspects/hosts/_alexandria/silverbullet.nix deleted file mode 100644 index 2b07960..0000000 --- a/aspects/hosts/_alexandria/silverbullet.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, inputs, ... }: - -let - mkNginxVHosts = inputs.self.lib.mkNginxVHosts; -in - -{ - services = { - silverbullet = { - enable = true; - listenAddress = "127.0.0.1"; - listenPort = 58002; - }; - - nginx.virtualHosts = mkNginxVHosts { - domains."notes.baduhai.dev".locations."/".proxyPass = - "http://${config.services.silverbullet.listenAddress}:${toString config.services.silverbullet.listenPort}/"; - }; - }; -} diff --git a/data/services.nix b/data/services.nix index 35cfeca..fe935ee 100644 --- a/data/services.nix +++ b/data/services.nix @@ -49,15 +49,5 @@ host = "trantor"; public = true; } - { - name = "silverbullet"; - domain = "notes.baduhai.dev"; - host = "alexandria"; - } - { - name = "open-webui"; - domain = "ai.baduhai.dev"; - host = "alexandria"; - } ]; }