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
|
@ -3,6 +3,5 @@
|
|||
boot.loader.grub = {
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
nftables.enable = true;
|
||||
firewall.allowPing = false;
|
||||
nameservers = [
|
||||
"9.9.9.11#dns11.quad9.net"
|
||||
"149.112.112.11#dns11.quad9.net"
|
||||
"2620:fe::11#dns11.quad9.net"
|
||||
"2620:fe::fe:11#dns11.quad9.net"
|
||||
"9.9.9.11#dns11.quad9.net"
|
||||
"149.112.112.11#dns11.quad9.net"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
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