mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
vanadium/connectivity: use npins to pin dns ai blocklist
This commit is contained in:
parent
815ef5a92d
commit
bc9d0439a6
2 changed files with 16 additions and 8 deletions
|
|
@ -205,14 +205,8 @@
|
|||
# Gotta preserve that thinking ability of my smoof bwain
|
||||
blocked_names = {
|
||||
blocked_names_file = let
|
||||
ai-blocklist =
|
||||
pkgs.fetchFromGitHub {
|
||||
owner = "laylavish";
|
||||
repo = "uBlockOrigin-HUGE-AI-Blocklist";
|
||||
rev = "9bb188e2701138e03f73bacebd6b19b181ca0012";
|
||||
hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA=";
|
||||
}
|
||||
+ "/noai_hosts.txt";
|
||||
sources = import ../../../../npins;
|
||||
ai-blocklist = sources.ai-blocklist + "/noai_hosts.txt";
|
||||
|
||||
# Blocklists are made of one pattern per line.
|
||||
# https://github.com/DNSCrypt/dnscrypt-proxy/blob/fa59f990431a49b6485f63f96601bc7e64017bf8/dnscrypt-proxy/example-dnscrypt-proxy.toml#L583C4-L583C75
|
||||
|
|
|
|||
|
|
@ -16,6 +16,20 @@
|
|||
"url": "https://api.github.com/repos/ryantm/agenix/tarball/0.15.0",
|
||||
"hash": "01dhrghwa7zw93cybvx4gnrskqk97b004nfxgsys0736823956la"
|
||||
},
|
||||
"ai-blocklist": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "laylavish",
|
||||
"repo": "uBlockOrigin-HUGE-AI-Blocklist"
|
||||
},
|
||||
"branch": "main",
|
||||
"submodules": false,
|
||||
"revision": "9bb188e2701138e03f73bacebd6b19b181ca0012",
|
||||
"url": "https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/archive/9bb188e2701138e03f73bacebd6b19b181ca0012.tar.gz",
|
||||
"hash": "0h318ckx8l89bff1fv4xg6mmhkvpfhyhvzbr0iyaa7q3dx3iyz57",
|
||||
"frozen": true
|
||||
},
|
||||
"disko": {
|
||||
"type": "GitRelease",
|
||||
"repository": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue