22 lines
523 B
Nix
22 lines
523 B
Nix
{ config, ... }:
|
|
let
|
|
port = 8408;
|
|
host = "actual.moonythm.dev";
|
|
in
|
|
{
|
|
imports = [ ../../common/optional/services/nginx.nix ];
|
|
services.nginx.virtualHosts.${host} = config.satellite.proxy port { };
|
|
|
|
# {{{ General config
|
|
virtualisation.oci-containers.containers.actual = {
|
|
image = "actualbudget/actual-server:latest";
|
|
autoStart = true;
|
|
|
|
ports = [ "${toString port}:5006" ]; # server:docker
|
|
volumes = [ "/persist/state/var/lib/actual:/data" ]; # server:docker
|
|
|
|
environment = { };
|
|
};
|
|
# }}}
|
|
}
|