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

23 lines
467 B
Nix
Raw Normal View History

{ lib, ... }:
{
containers.test = {
autoStart = true;
privateNetwork = true;
2024-02-06 19:33:35 +00:00
hostAddress = "10.175.197.82";
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;
};
};
}