From ffdd151409b9a2163e1c74eb3044e705947bf859 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 27 Apr 2023 17:27:57 +0200 Subject: [PATCH] configured adguard --- hosts/nuc/default.nix | 1 + hosts/nuc/modules/adguard/default.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 hosts/nuc/modules/adguard/default.nix diff --git a/hosts/nuc/default.nix b/hosts/nuc/default.nix index 02e02dc..232b3a9 100644 --- a/hosts/nuc/default.nix +++ b/hosts/nuc/default.nix @@ -5,6 +5,7 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix + ./modules/adguard ./modules/networks ./modules/backup ./modules/nextcloud diff --git a/hosts/nuc/modules/adguard/default.nix b/hosts/nuc/modules/adguard/default.nix new file mode 100644 index 0000000..282d49b --- /dev/null +++ b/hosts/nuc/modules/adguard/default.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + services.adguardhome = { + enable = true; + openFirewall = true; + settings.bind_port = 3000; + }; +}