diff --git a/machines/tower/configuration.nix b/machines/tower/configuration.nix index d944eb5..0d8a822 100644 --- a/machines/tower/configuration.nix +++ b/machines/tower/configuration.nix @@ -11,15 +11,19 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "tower-nixos"; # Define your hostname. - # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. - - # Configure network proxy if necessary - # networking.proxy.default = "http://user:password@proxy:port/"; - # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + networking.hostName = "nova"; # Define your hostname. # Enable networking - networking.networkmanager.enable = true; + networking.useDHCP = false; + systemd.network.enable = true; + systemd.network.networks."10-wired" = { + matchConfig.Name = "enp1s0"; + networkConfig = { + Address = "192.168.1.11/24"; + Gateway = "192.168.1.1"; + DNS = "192.168.1.1"; + }; + }; # Set your time zone. time.timeZone = "America/New_York";