infrastructure/hosts/olympus/bastion/containers/default.nix
Vivian e9f9a8e84d
Some checks failed
Lint / lint (push) Failing after 3m16s
initial rewrite
2024-01-03 11:33:00 +01:00

27 lines
451 B
Nix

{ config, lib, ... }:
let
hostAddress = "10.42.99.1";
hostAddress6 = "fc00::1";
in {
# TODO: Loop over subdirs, create nixos container for each
networking.nat = {
enable = true;
internalInterfaces = [ "ve-+" ];
externalInterface = "ens18";
# Lazy IPv6 connectivity for the container
enableIPv6 = true;
forwardPorts = [
];
};
# Containers network is
# * 10.42.99.0/24
# * fc00:x
containers = {
};
}