adguard
This commit is contained in:
8
hosts/pi4/adguard.nix
Normal file
8
hosts/pi4/adguard.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
mutableSettings = true;
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,7 @@ let
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./adguard.nix
|
||||
./boot.nix
|
||||
./impermanence.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user