From 4e7e35b3e9a8251caa97109911b5a4e6509edac3 Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 19 Mar 2024 23:55:58 -0400 Subject: [PATCH] Install Unbound DNS server --- hosts/nullbox/configuration.nix | 1 + hosts/nullbox/unbound.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 hosts/nullbox/unbound.nix diff --git a/hosts/nullbox/configuration.nix b/hosts/nullbox/configuration.nix index 6ec7062..1b6260f 100644 --- a/hosts/nullbox/configuration.nix +++ b/hosts/nullbox/configuration.nix @@ -12,6 +12,7 @@ ./hardware-configuration.nix # Encryption ./luks.nix + ./unbound.nix ]; config = { diff --git a/hosts/nullbox/unbound.nix b/hosts/nullbox/unbound.nix new file mode 100644 index 0000000..9c72450 --- /dev/null +++ b/hosts/nullbox/unbound.nix @@ -0,0 +1,7 @@ +{ pkgs, lib, config, ... }: +{ + config = { + networking.networkmanager.dns = "none"; + services.unbound.enable = true; + }; +}