nix-config/modules/containers/default.nix
2025-12-23 19:46:22 +01:00

17 lines
338 B
Nix

{...}: {
imports = [
./nginx.nix
./forgejo.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;
};
};
}