mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/athame: move from targets infra to athame, add roundcube
This commit is contained in:
parent
e282f7e0d3
commit
47eb81f150
3 changed files with 14 additions and 7 deletions
|
|
@ -19,6 +19,7 @@ with lib;
|
|||
services.postgres
|
||||
services.radicale
|
||||
services.restic
|
||||
services.roundcube
|
||||
services.syncplay
|
||||
services.taskserver
|
||||
services.vaultwarden
|
||||
|
|
|
|||
13
config/services/roundcube/default.nix
Normal file
13
config/services/roundcube/default.nix
Normal 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; };
|
||||
};
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
deploy.targets.infra = {
|
||||
nodeNames = [ "athame" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue