hosts/athame: move from targets infra to athame, add roundcube

This commit is contained in:
kat witch 2021-09-04 17:53:20 +01:00
parent e282f7e0d3
commit 47eb81f150
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 14 additions and 7 deletions

View file

@ -19,6 +19,7 @@ with lib;
services.postgres
services.radicale
services.restic
services.roundcube
services.syncplay
services.taskserver
services.vaultwarden

View file

@ -0,0 +1,13 @@
{ config, ... }: {
services.roundcube = {
enable = true;
hostName = "mail.${config.network.dns.domain}";
};
deploy.tf.dns.records.services_roundcube = {
inherit (config.network.dns) zone;
domain = "mail";
cname = { inherit (config.network.addresses.public) target; };
};
}

View file

@ -1,7 +0,0 @@
{ config, ... }:
{
deploy.targets.infra = {
nodeNames = [ "athame" ];
};
}