fix(tower): add static IP configuration

This commit is contained in:
Michael Thomas 2024-08-02 16:43:52 -04:00
parent aa240a91d1
commit 3d9bab034b

View File

@ -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";