From ae22a081c8bb9861c09da4a24beb04c0628792f6 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 30 Apr 2025 14:26:41 -0500 Subject: [PATCH] adguardhome in h001 --- hosts/h001/flake.nix | 1 + hosts/h001/mods/adguardhome.nix | 12 ++++++++++++ hosts/h001/mods/default.nix | 8 ++++++++ 3 files changed, 21 insertions(+) create mode 100644 hosts/h001/mods/adguardhome.nix create mode 100644 hosts/h001/mods/default.nix diff --git a/hosts/h001/flake.nix b/hosts/h001/flake.nix index e9643ae..be29882 100644 --- a/hosts/h001/flake.nix +++ b/hosts/h001/flake.nix @@ -30,6 +30,7 @@ ros_neovim.nixosModules.default ./configuration.nix ./hardware-configuration.nix + ./mods (import ./containers { inherit common; }) ( { config, pkgs, ... }: diff --git a/hosts/h001/mods/adguardhome.nix b/hosts/h001/mods/adguardhome.nix new file mode 100644 index 0000000..a631614 --- /dev/null +++ b/hosts/h001/mods/adguardhome.nix @@ -0,0 +1,12 @@ +{ + ... +}: +{ + config = { + services.adguardhome = { + enable = true; + allowDHCP = true; + openFirewall = true; + }; + }; +} diff --git a/hosts/h001/mods/default.nix b/hosts/h001/mods/default.nix new file mode 100644 index 0000000..f4a4450 --- /dev/null +++ b/hosts/h001/mods/default.nix @@ -0,0 +1,8 @@ +{ + ... +}: +{ + imports = [ + ./adguardhome.nix + ]; +}