public-access-proxy: move to serv subnet

This commit is contained in:
Astro 2020-05-22 19:07:07 +02:00
parent d90d5f428d
commit f80c07aaa3
1 changed files with 4 additions and 2 deletions

View File

@ -9,13 +9,15 @@
[ ../../../lib/lxc-container.nix
../../../lib/shared.nix
../../../lib/admins.nix
../../../lib/default-gateway.nix
./proxy.nix
];
networking.hostName = "public-access-proxy";
networking.useNetworkd = true;
networking.dhcpcd.enable = lib.mkForce true;
networking.interfaces.eth0 = {
ipv4.addresses = [ { address = "172.20.73.45"; prefixLength = 26; } ];
};
networking.defaultGateway = "172.20.73.1";
my.services.proxy = {
enable = true;