Made huge replacements more robust with envsubst instead of sed

This commit is contained in:
Raphaël Numbus
2026-01-09 16:18:59 +01:00
parent 491c56909e
commit 9d003f2cbe
5 changed files with 19 additions and 21 deletions
+4 -4
View File
@@ -11,15 +11,15 @@
networking.firewall.enable = true;
# Bridge configuration for VMs
networking.bridges.br0.interfaces = [ "TARGET_INTERFACE" ];
networking.bridges.br0.interfaces = [ "$TARGET_INTERFACE" ];
networking.interfaces.br0.useDHCP = false;
networking.nameservers = [ "HOME_SERVER_IP" "9.9.9.9" ];
networking.nameservers = [ "$HOME_SERVER_IP" "9.9.9.9" ];
networking.interfaces.br0.ipv4.addresses = [{
address = "HOME_SERVER_IP";
address = "$HOME_SERVER_IP";
prefixLength = 24;
}];
networking.defaultGateway = {
address = "HOME_ROUTER_IP";
address = "$HOME_ROUTER_IP";
interface = "br0";
};