diff --git a/machines/modules/host_builder.nix b/machines/modules/host_builder.nix index beb3a0fc..2460343e 100644 --- a/machines/modules/host_builder.nix +++ b/machines/modules/host_builder.nix @@ -165,6 +165,16 @@ rec { }); }; + systemd.network.networks."20-lan" = pkgs.lib.mkForce { + matchConfig.Type = "ether"; + networkConfig = { + Address = [ "10.0.0.${hosts.malobeo.hosts.${hostname}.network.hostId}/24" ]; + Gateway = "10.0.0.1"; + DNS = [ "1.1.1.1" ]; + DHCP = "no"; + }; + }; + boot.isContainer = pkgs.lib.mkForce false; services.timesyncd.enable = false; users.users.root.password = "";