2024-02-04 18:38:04 +00:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
containers.test = {
|
|
|
|
autoStart = true;
|
|
|
|
privateNetwork = true;
|
2024-02-06 19:33:35 +00:00
|
|
|
hostAddress = "10.175.197.82";
|
2024-02-04 18:38:04 +00:00
|
|
|
localAddress = "192.168.100.11";
|
|
|
|
config = { config, pkgs, ... }: {
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 80 ];
|
|
|
|
};
|
|
|
|
useHostResolvConf = lib.mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.resolved.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|