From 419e87bf808b087fb38ef6a13759257d83f0ccff Mon Sep 17 00:00:00 2001 From: Marcus Huntemann Date: Thu, 22 Aug 2024 00:14:51 +0000 Subject: [PATCH] fix dns --- configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configuration.nix b/configuration.nix index 15447af..48fca0c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -32,6 +32,18 @@ # Set the system version system.stateVersion = "unstable"; + + # add nameserver to be able to resolve names in local network + networking = { + nameservers = [ "192.168.1.1" ]; + search = [ "lan" ]; + domain = "lan"; + }; + + + + + # Enable OpenSSH services.sshd.enable = true;