This commit is contained in:
mjallen18
2025-05-12 12:35:00 -05:00
parent 65fb1f3676
commit b896cc46f3
3 changed files with 31 additions and 0 deletions

8
hosts/pi4/adguard.nix Normal file
View File

@@ -0,0 +1,8 @@
{ ... }:
{
services.adguardhome = {
enable = true;
openFirewall = true;
mutableSettings = true;
}
}

View File

@@ -10,6 +10,7 @@ let
in
{
imports = [
./adguard.nix
./boot.nix
./impermanence.nix
./hardware-configuration.nix

View File

@@ -47,6 +47,28 @@ in
psk = "$PSK";
};
};
"static-enabcm6e4ei0" = {
connection = {
id = "static-enabcm6e4ei0";
type = "ethernet";
interface-name = "enabcm6e4ei0";
};
ipv4 = {
method = "manual";
address-data = [{
address = "10.0.1.2";
prefix = 24;
}];
gateway = "10.0.1.1";
dns = [ "10.0.1.1" "1.1.1.1" ];
};
ipv6 = {
addr-gen-mode = "stable-privacy";
method = "auto";
};
};
};
};
};