public-access-proxy: move to serv subnet
This commit is contained in:
parent
d90d5f428d
commit
f80c07aaa3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue