1
0
nixfiles/hosts/mail-2/configuration.nix

37 lines
729 B
Nix
Raw Permalink Normal View History

2023-05-20 17:13:45 +02:00
{ ... }:
{
imports =
[
./hardware-configuration.nix
../../configuration/hetzner-cloud
2023-05-20 17:52:03 +02:00
./mailcow.nix
2023-05-20 17:13:45 +02:00
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
networking.interfaces.ens3.ipv6.addresses = [ { address = "2a01:4f8:1c1c:9577::1"; prefixLength = 64; } ];
networking.interfaces.ens3.ipv4.addresses = [ { address = "5.75.187.112"; prefixLength = 32; } ];
2023-05-22 07:46:11 +02:00
clerie.backup = {
enable = true;
jobs.main = {
paths = [
"/opt/mailcow-dockerized"
"/var/lib"
];
};
};
2023-05-22 07:02:45 +02:00
clerie.monitoring = {
enable = true;
id = "215";
pubkey = "N6Q6oEJibdayQVVh3hnQTpOWFtzxUv7OQwtzXc3LXjw=";
};
2023-05-20 17:13:45 +02:00
system.stateVersion = "22.11";
}