diff --git a/modules/config/instances/config/actual.nix b/modules/config/instances/config/actual.nix deleted file mode 100755 index 526c455..0000000 --- a/modules/config/instances/config/actual.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ moduleFunctions }: -let - inherit (moduleFunctions.instancesFunctions) - domain0 - servicePath - sslPath - sopsPath - ; - label = "Actual"; - name = "actual"; - domain = "${name}.${domain0}"; -in -{ - label = label; - name = name; - short = label; - sops = { - path0 = "${sopsPath}/${name}"; - }; - domains = { - url0 = domain; - }; - tags = [ - ]; - subdomain = name; - paths = { - path0 = "${servicePath}/${label}"; - path1 = "${servicePath}/${label}/cache"; - }; - ports = { - port0 = 3000; - }; - ssl = { - cert = "${sslPath}/${name}.${domain0}/fullchain.pem"; - key = "${sslPath}/${name}.${domain0}/key.pem"; - }; -} diff --git a/modules/nixos/services/actual/default.nix b/modules/nixos/services/actual/default.nix deleted file mode 100755 index 1bf7009..0000000 --- a/modules/nixos/services/actual/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ flake, ... }: -let - inherit (flake.config.services.instances) actual web; - service = actual; - localhost = web.localhost.address1; -in -{ - services = { - actual = { - enable = true; - settings = { - port = service.ports.port0; - hostname = localhost; - }; - }; - }; - networking = { - firewall = { - allowedTCPPorts = [ - service.ports.port0 - ]; - }; - }; -}