nix/os,CFB4ED74: add mailserver container
This commit is contained in:
parent
9f807aa838
commit
8f0b7550aa
3 changed files with 154 additions and 0 deletions
|
@ -29,6 +29,12 @@ in {
|
|||
interface = "eth0";
|
||||
};
|
||||
|
||||
networking.nat = {
|
||||
enable = true;
|
||||
internalInterfaces = [ "ve-+" ];
|
||||
externalInterface = "eth0";
|
||||
};
|
||||
|
||||
# Kubernetes
|
||||
# services.kubernetes.roles = ["master" "node"];
|
||||
|
||||
|
@ -57,4 +63,11 @@ in {
|
|||
ip link set $iface down
|
||||
done
|
||||
'';
|
||||
|
||||
containers = {
|
||||
mailserver = import ../../containers/mailserver.nix {
|
||||
hostAddress = "192.168.100.10";
|
||||
localAddress = "192.168.100.11";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue