diff --git a/hosts/yoshino/default.nix b/hosts/yoshino/default.nix index f61d5b5..da4ee92 100644 --- a/hosts/yoshino/default.nix +++ b/hosts/yoshino/default.nix @@ -20,6 +20,24 @@ cpuFreqGovernor = lib.mkDefault "performance"; }; + networking = { + hostName = "yoshino"; + networkmanager.enable = true; + }; + + systemd.network.networks."99-local" = { + matchConfig.name = "enp68s0"; + address = [ + "192.168.1.100/24" + ]; + routes = [ + { + Gateway = "172.16.10.1"; + GatewayOnLink = false; + } + ]; + }; + liv = { desktop.enable = true; creative.enable = true; @@ -28,11 +46,6 @@ gui.enable = true; }; - networking = { - hostName = "yoshino"; - networkmanager.enable = true; - }; - boot = { kernelParams = [ ]; kernelModules = [ "acpi_call" ];