Compare commits
3 commits
59e90d54f2
...
f76e112c1d
| Author | SHA1 | Date | |
|---|---|---|---|
| f76e112c1d | |||
| 4ab5224674 | |||
| 5f870d116c |
4 changed files with 30 additions and 9 deletions
|
|
@ -177,6 +177,21 @@ in
|
||||||
host = "http://${p.hosts.homeassistant}:8123";
|
host = "http://${p.hosts.homeassistant}:8123";
|
||||||
domain = p.domains.public;
|
domain = p.domains.public;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
subdomain = "bacco.ts";
|
||||||
|
host = "https://${p.hosts.bacco}:8006";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
subdomain = "krzo.ts";
|
||||||
|
host = "https://${p.hosts.krzo}:8006";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
subdomain = "node.ts";
|
||||||
|
host = "https://${p.hosts.node}:8006";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
subdomain = "torrent.ts";
|
subdomain = "torrent.ts";
|
||||||
host = "http://qbittorrent.${p.domains.tsDns}:8090";
|
host = "http://qbittorrent.${p.domains.tsDns}:8090";
|
||||||
|
|
@ -202,6 +217,11 @@ in
|
||||||
host = "http://${p.hosts.docker-vm}:6060";
|
host = "http://${p.hosts.docker-vm}:6060";
|
||||||
domain = p.domains.public;
|
domain = p.domains.public;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
subdomain = "pulse.ts";
|
||||||
|
host = "http://${p.hosts.pulse}:7655";
|
||||||
|
domain = p.domains.public;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,11 @@ let
|
||||||
# Generate complete colmena host configs (imports + deployment)
|
# Generate complete colmena host configs (imports + deployment)
|
||||||
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
|
mkColmenaHosts = builtins.mapAttrs (name: cfg: {
|
||||||
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
|
imports = inputs.self.nixosConfigurations.${name}._module.args.modules;
|
||||||
deployment =
|
deployment = {
|
||||||
{
|
targetHost = hosts.${name} or null;
|
||||||
targetHost = hosts.${name} or null;
|
tags = cfg.tags;
|
||||||
tags = cfg.tags;
|
}
|
||||||
}
|
// (if cfg ? colmenaSshPort then { targetPort = cfg.colmenaSshPort; } else { });
|
||||||
// (if cfg ? colmenaSshPort then { targetPort = cfg.colmenaSshPort; } else { });
|
|
||||||
}) hostDefs;
|
}) hostDefs;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,9 @@ in
|
||||||
plex = "plex.${private-domain}";
|
plex = "plex.${private-domain}";
|
||||||
docker = "docker.${private-domain}";
|
docker = "docker.${private-domain}";
|
||||||
colmena = "colmena.${private-domain}";
|
colmena = "colmena.${private-domain}";
|
||||||
pve01 = "bacco${private-domain}";
|
bacco = "bacco.${private-domain}";
|
||||||
pve02 = "node.${private-domain}";
|
node = "node.${private-domain}";
|
||||||
|
krzo = "krzo.${private-domain}";
|
||||||
dns01 = "192.168.1.2";
|
dns01 = "192.168.1.2";
|
||||||
dns02 = "192.168.1.3";
|
dns02 = "192.168.1.3";
|
||||||
shadowsocks = "shadowsocks.${private-domain}";
|
shadowsocks = "shadowsocks.${private-domain}";
|
||||||
|
|
@ -38,6 +39,7 @@ in
|
||||||
actual = "actual-budget.${private-domain}";
|
actual = "actual-budget.${private-domain}";
|
||||||
karakeep = "karakeep.${private-domain}";
|
karakeep = "karakeep.${private-domain}";
|
||||||
docker-vm = "docker-vm.${private-domain}";
|
docker-vm = "docker-vm.${private-domain}";
|
||||||
|
pulse = "pulse.${private-domain}";
|
||||||
};
|
};
|
||||||
personal = {
|
personal = {
|
||||||
username = "pazpi";
|
username = "pazpi";
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ in
|
||||||
|
|
||||||
nextcloud = {
|
nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud32;
|
package = pkgs.nextcloud33;
|
||||||
hostName = "cloud.${cfg.proxy.domain}";
|
hostName = "cloud.${cfg.proxy.domain}";
|
||||||
https = true;
|
https = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue