From e484c54841d1543a7054abe004ecafcb8728cc60 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Tue, 12 Aug 2025 09:05:16 -0400 Subject: [PATCH] nextdns on hosts --- home/crow/common/core/default.nix | 1 - hosts/common/core/default.nix | 1 + hosts/common/core/dns.nix | 9 +++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 hosts/common/core/dns.nix diff --git a/home/crow/common/core/default.nix b/home/crow/common/core/default.nix index 65135e6..b6cdd09 100644 --- a/home/crow/common/core/default.nix +++ b/home/crow/common/core/default.nix @@ -30,7 +30,6 @@ in { screen ouch bitwarden-cli - nextdns ; }; diff --git a/hosts/common/core/default.nix b/hosts/common/core/default.nix index 4a770f5..d4f291e 100644 --- a/hosts/common/core/default.nix +++ b/hosts/common/core/default.nix @@ -28,6 +28,7 @@ in { "hosts/common/core/fonts.nix" "hosts/common/core/sudo.nix" "hosts/common/core/nebula.nix" + "hosts/common/core/dns.nix" "hosts/common/users/primary" "hosts/common/users/primary/${platform}.nix" "modules/common" diff --git a/hosts/common/core/dns.nix b/hosts/common/core/dns.nix new file mode 100644 index 0000000..b589d97 --- /dev/null +++ b/hosts/common/core/dns.nix @@ -0,0 +1,9 @@ +{pkgs, ...}: { + environment.systemPackages = [ + pkgs.nextdns + ]; + services.nextdns = { + enable = true; + arguments = ["-config" "cc2b9b"]; + }; +}