public-access-proxy: microvmify
This commit is contained in:
parent
9fc5921a1e
commit
6715d08bf3
|
@ -501,7 +501,7 @@
|
||||||
|
|
||||||
public-access-proxy = nixosSystem' {
|
public-access-proxy = nixosSystem' {
|
||||||
modules = [
|
modules = [
|
||||||
./config/lxc-container.nix
|
self.nixosModules.microvm
|
||||||
./hosts/containers/public-access-proxy
|
./hosts/containers/public-access-proxy
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,9 +6,18 @@
|
||||||
./stats.nix
|
./stats.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
c3d2.deployment = {
|
||||||
|
server = "server10";
|
||||||
|
mounts = [ "etc" "var"];
|
||||||
|
interfaces = [ {
|
||||||
|
net = "serv";
|
||||||
|
mac = "12:24:5F:BD:9B:E7";
|
||||||
|
} ];
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "public-access-proxy";
|
networking.hostName = "public-access-proxy";
|
||||||
networking.useNetworkd = true;
|
networking.useNetworkd = true;
|
||||||
networking.interfaces.eth0 = {
|
networking.interfaces.ens3 = {
|
||||||
ipv4.addresses = [{
|
ipv4.addresses = [{
|
||||||
address = "172.20.73.45";
|
address = "172.20.73.45";
|
||||||
prefixLength = zentralwerk.lib.config.site.net.serv.subnet4Len;
|
prefixLength = zentralwerk.lib.config.site.net.serv.subnet4Len;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user