1
0
Files
configuration
flake
hosts
_iso
aluminium
astatine
backup-4
beryllium
carbon
clerie-backup
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
gatekeeper
hydra-1
hydra-2
krypton
mail-2
configuration.nix
hardware-configuration.nix
mailcow.nix
secrets.json
ssh.pub
monitoring-3
nonat
osmium
palladium
porter
storage-2
tungsten
web-2
zinc
lib
modules
pkgs
users
.gitignore
README.md
flake.lock
flake.nix
nixfiles/hosts/mail-2/configuration.nix

37 lines
729 B
Nix

{ ... }:
{
imports =
[
./hardware-configuration.nix
../../configuration/hetzner-cloud
./mailcow.nix
];
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; } ];
clerie.backup = {
enable = true;
jobs.main = {
paths = [
"/opt/mailcow-dockerized"
"/var/lib"
];
};
};
clerie.monitoring = {
enable = true;
id = "215";
pubkey = "N6Q6oEJibdayQVVh3hnQTpOWFtzxUv7OQwtzXc3LXjw=";
};
system.stateVersion = "22.11";
}