infrastructure/hosts/phoenix.lewd.wtf/containers/test.nix

22 lines
454 B
Nix
Raw Normal View History

{
containers.test = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.100.10";
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;
};
};
}