nixos/systems/mail/default.nix

22 lines
644 B
Nix
Raw Normal View History

2022-11-04 19:35:57 +01:00
{ custom, hostname }: { pkgs, ... }:
2022-02-28 22:12:16 +01:00
{
imports = [
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/systems/proxmox-vm" {
2022-02-28 22:12:16 +01:00
ip = "10.7.89.123";
2022-11-04 19:35:57 +01:00
inherit hostname custom;
2022-02-28 22:12:16 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/restic-server-client" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
time = "04:30";
2022-11-04 19:35:57 +01:00
inherit custom;
2022-02-28 22:12:16 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/nginx-proxy" {
domain = "mail.zweili.org"; inherit custom;
2022-05-19 21:47:40 +02:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
(import "${custom.inputs.self}/modules/docker-mailserver" { inherit custom; })
"${custom.inputs.self}/modules/mariadb"
2022-02-28 22:12:16 +01:00
];
}
2022-05-19 21:47:40 +02:00