From cb449d6b099db2b945ccda4f30bbec9dc221339c Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 8 Apr 2023 19:07:34 -0700 Subject: [PATCH] Configured static IP --- systems/x86_64-linux/gospel/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/gospel/default.nix b/systems/x86_64-linux/gospel/default.nix index 8b6e1bd..fa35bd1 100644 --- a/systems/x86_64-linux/gospel/default.nix +++ b/systems/x86_64-linux/gospel/default.nix @@ -39,7 +39,19 @@ }; boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"]; - networking.hostName = "gospel"; + networking = { + hostName = "gospel"; + useDHCP = false; + defaultGateway = "192.168.113.1"; + nameservers = ["1.1.1.1"]; + interfaces.eno1.ipv4.addresses = [ + { + address = "192.168.113.69"; # nice + prefixLength = 24; + } + ]; + }; + time.timeZone = "America/Los_Angeles"; # List packages installed in system profile. To search, run: