From 12de968a7eae1b184973e4243fd9d51910311c54 Mon Sep 17 00:00:00 2001 From: Laba Subagia Date: Fri, 19 Jul 2024 14:55:54 +0800 Subject: [PATCH] chore: update network --- nix/hosts/common/default.nix | 1 + nix/hosts/common/networking.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 nix/hosts/common/networking.nix diff --git a/nix/hosts/common/default.nix b/nix/hosts/common/default.nix index 6707aaa..7993cc2 100644 --- a/nix/hosts/common/default.nix +++ b/nix/hosts/common/default.nix @@ -9,6 +9,7 @@ ./fonts.nix ./firewall.nix ./nix-ld.nix + ./networking.nix ./vm.nix ]; } diff --git a/nix/hosts/common/networking.nix b/nix/hosts/common/networking.nix new file mode 100644 index 0000000..ca56f44 --- /dev/null +++ b/nix/hosts/common/networking.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + networking = { + nameservers = [ "1.1.1.1" "8.8.8.8" ]; + }; +}