init
This commit is contained in:
parent
7f5c5b718f
commit
2de1a62d2f
5 changed files with 246 additions and 0 deletions
17
modules/containers/default.nix
Normal file
17
modules/containers/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{...}: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue