nixos/systems/mail/default.nix

22 lines
421 B
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, pkgs, ... }:
2022-02-28 22:12:16 +01:00
{
imports = [
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/systems/raspi4" {
2022-02-28 22:12:16 +01:00
ip = "10.7.89.123";
2023-05-29 16:21:23 +02:00
inherit hostname;
2022-02-28 22:12:16 +01:00
})
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/modules/restic-client-server" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
2022-11-10 00:25:15 +01:00
time = "01:00";
2022-02-28 22:12:16 +01:00
})
];
2023-06-05 11:39:36 +02:00
services = {
az-mailserver.enable = true;
2023-06-06 21:38:53 +02:00
az-nginx-proxy = {
enable = true;
domain = "mail.zweili.org";
};
2023-06-05 11:39:36 +02:00
};
2022-02-28 22:12:16 +01:00
}
2022-05-19 21:47:40 +02:00