feat: removed actual

This commit is contained in:
Nick 2025-10-13 17:15:02 -05:00
parent ec26b9c224
commit 55ae4433df
2 changed files with 0 additions and 61 deletions

View file

@ -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";
};
}

View file

@ -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
];
};
};
}