Add Spotify search to Librewolf, remove redundant Grub device option, first attempt at DNS adblocking
This commit is contained in:
parent
a5b7d5abd4
commit
7577113cf9
7 changed files with 75 additions and 57 deletions
29
modules/system/services/server/blocky/default.nix
Normal file
29
modules/system/services/server/blocky/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.blocky = {
|
||||
settings = {
|
||||
upstreams.groups.default = [
|
||||
"2606:4700:4700::1111"
|
||||
"2606:4700:4700::1001"
|
||||
"1.1.1.1"
|
||||
"1.0.0.1"
|
||||
];
|
||||
|
||||
blocking = {
|
||||
clientGroupsBlock.default = [
|
||||
"pro"
|
||||
"tif"
|
||||
];
|
||||
denylists = {
|
||||
"pro" = [ "https://codeberg.org/hagezi/mirror2/raw/branch/main/dns-blocklists/wildcard/pro.txt" ];
|
||||
"tif" = [ "https://codeberg.org/hagezi/mirror2/raw/branch/main/dns-blocklists/wildcard/tif.txt" ];
|
||||
};
|
||||
};
|
||||
|
||||
caching = {
|
||||
prefetching = true;
|
||||
minTime = "1m";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./blocky
|
||||
./cfdyndns
|
||||
./forgejo
|
||||
./icecast
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue