nix-config/modules/containers/default.nix

18 lines
360 B
Nix

{...}: {
imports = [
./nginx.nix
./forgejo.nix
./vaultwarden.nix
];
config = {
networking.nat = {
enable = true;
# Use "ve-*" when using nftables instead of iptables
internalInterfaces = ["ve-+"];
externalInterface = "eno1";
# Lazy IPv6 connectivity for the container
enableIPv6 = true;
};
};
}