mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -06:00
feat: removed actual
This commit is contained in:
parent
ec26b9c224
commit
55ae4433df
2 changed files with 0 additions and 61 deletions
|
|
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue