diff --git a/machines/lisa/default.nix b/machines/lisa/default.nix index ac6f1e0..a7e5946 100644 --- a/machines/lisa/default.nix +++ b/machines/lisa/default.nix @@ -38,8 +38,7 @@ networking.interfaces.ens20.ipv4.addresses = [ {address = "212.129.40.11"; prefixLength = 32;} ]; #networking.defaultGateway = { interface = "ens20"; }; networking.localCommands = '' -ip r del default -ip r add default dev ens20 +ip r del default || ip r add default dev ens20 ''; networking.interfaces.ens18.useDHCP = true; networking.interfaces.ens19.useDHCP = false;