From 3e9548138b08613f020cbd4ee1938f9fa7f78e40 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 23 Jun 2023 09:59:09 -0400 Subject: [PATCH] sora: fix networking --- hosts/sora/default.nix | 1 + hosts/sora/networking.nix | 3 +++ hosts/sora/services/default.nix | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 hosts/sora/services/default.nix diff --git a/hosts/sora/default.nix b/hosts/sora/default.nix index 11a12fb..42211be 100644 --- a/hosts/sora/default.nix +++ b/hosts/sora/default.nix @@ -2,6 +2,7 @@ imports = [ ./hardware-configuration.nix ./networking.nix + ../../modules ]; environment.systemPackages = with pkgs; [ diff --git a/hosts/sora/networking.nix b/hosts/sora/networking.nix index 4f912b3..951afef 100644 --- a/hosts/sora/networking.nix +++ b/hosts/sora/networking.nix @@ -3,6 +3,9 @@ nameservers = [ "8.8.8.8" ]; + environment.etc = { + "resolv.conf".text = "nameserver 8.8.8.8\n"; + }; defaultGateway = "172.31.1.1"; defaultGateway6 = { address = "fe80::1"; diff --git a/hosts/sora/services/default.nix b/hosts/sora/services/default.nix new file mode 100644 index 0000000..65740a9 --- /dev/null +++ b/hosts/sora/services/default.nix @@ -0,0 +1,4 @@ +{...}: { + imports = [ + ]; +}