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
profiles
users
.gitignore
README.md
flake.lock
flake.nix
nixfiles/hosts/mail-2/configuration.nix

45 lines
717 B
Nix

{ ... }:
{
imports =
[
./hardware-configuration.nix
./mailcow.nix
];
profiles.clerie.hetzner-cloud.enable = true;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
networking.useDHCP = false;
systemd.network.enable = true;
systemd.network.networks."10-wan" = {
address = [
"2a01:4f8:1c1c:9577::1/64"
"5.75.187.112/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";
}