mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
orac adg
This commit is contained in:
parent
470dc6a135
commit
d16125d9ec
1 changed files with 44 additions and 44 deletions
|
|
@ -70,50 +70,50 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.adguardhome = {
|
# services.adguardhome = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
openFirewall = true;
|
# openFirewall = true;
|
||||||
mutableSettings = true;
|
# mutableSettings = true;
|
||||||
settings = {
|
# settings = {
|
||||||
http = {
|
# http = {
|
||||||
address = "127.0.0.1:3000";
|
# address = "127.0.0.1:3000";
|
||||||
};
|
# };
|
||||||
dns = {
|
# dns = {
|
||||||
# bind_hosts = [
|
# # bind_hosts = [
|
||||||
# "192.168.0.116"
|
# # "192.168.0.116"
|
||||||
# "100.65.36.116"
|
# # "100.65.36.116"
|
||||||
# ];
|
# # ];
|
||||||
port = 53;
|
# port = 53;
|
||||||
upstream_dns = [
|
# upstream_dns = [
|
||||||
"9.9.9.9"
|
# "9.9.9.9"
|
||||||
"8.8.8.8"
|
# "8.8.8.8"
|
||||||
];
|
# ];
|
||||||
bootstrap_dns = [
|
# bootstrap_dns = [
|
||||||
"9.9.9.9"
|
# "9.9.9.9"
|
||||||
"8.8.4.4"
|
# "8.8.4.4"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
filtering = {
|
# filtering = {
|
||||||
protection_enabled = true;
|
# protection_enabled = true;
|
||||||
filtering_enabled = true;
|
# filtering_enabled = true;
|
||||||
parental_enabled = false;
|
# parental_enabled = false;
|
||||||
safe_search = {
|
# safe_search = {
|
||||||
enabled = false;
|
# enabled = false;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
filters =
|
# filters =
|
||||||
lib.map
|
# lib.map
|
||||||
(url: {
|
# (url: {
|
||||||
enabled = true;
|
# enabled = true;
|
||||||
url = url;
|
# url = url;
|
||||||
})
|
# })
|
||||||
[
|
# [
|
||||||
"https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt"
|
# "https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt"
|
||||||
"https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt"
|
# "https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt"
|
||||||
"https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt"
|
# "https://adguardteam.github.io/HostlistsRegistry/assets/filter_1.txt"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue