This commit is contained in:
mjallen18
2026-03-30 16:09:25 -05:00
parent 8d8d49bd38
commit a88736cf6e
23 changed files with 273 additions and 58 deletions

View File

@@ -1,4 +1,7 @@
{ lib, ... }:
{ lib, namespace, ... }:
let
net = lib.${namespace}.network;
in
{
services.resolved.enable = lib.mkForce false;
services.adguardhome = {
@@ -30,7 +33,7 @@
trusted_proxies = [
"127.0.0.0/8"
"::1/128"
"10.0.1.3"
net.hosts.nas.lan
];
cache_optimistic = true;
};

View File

@@ -7,6 +7,9 @@
namespace,
...
}:
let
net = lib.${namespace}.network;
in
{
imports = [
./adguard.nix
@@ -119,11 +122,11 @@
# ###################################################
network = {
hostName = "pi5";
hostName = net.hosts.pi5.hostname;
ipv4 = {
method = "manual";
address = "10.0.1.2/24";
gateway = "10.0.1.1";
address = net.hosts.pi5.lan4;
gateway = net.hosts.pi5.gateway;
dns = "1.1.1.1";
interface = "end0";
};