mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
vanadium/connectivity: use /etc/hosts blocklist
This commit is contained in:
parent
2ec26ff49e
commit
9242a3dfb5
1 changed files with 26 additions and 0 deletions
|
|
@ -74,6 +74,32 @@
|
|||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostFiles = [
|
||||
# Prevent building up reliance on chatbots
|
||||
# Gotta preserve that thinking ability of my smoof bwain
|
||||
"${pkgs.ai_blocklist}/share/hosts.txt"
|
||||
"${pkgs.hategroup_blocklist}/share/hosts.txt"
|
||||
|
||||
# TODO: extraHosts option is overwritten by this
|
||||
# We should emit a warning because it trips me up and it shouldn't >:(
|
||||
(pkgs.writeText "etc-extra-hosts" ''
|
||||
#
|
||||
# Generated from nixos configuartion
|
||||
#
|
||||
|
||||
# This is the fascist one, just block it because I can't tell
|
||||
nixos.wiki
|
||||
|
||||
# Gotta purify my smoos brain for a while
|
||||
0.0.0.0 instagram.com
|
||||
0.0.0.0 www.instagram.com
|
||||
0.0.0.0 youtube.com
|
||||
0.0.0.0 www.youtube.com
|
||||
'')
|
||||
];
|
||||
};
|
||||
|
||||
services.mullvad-vpn.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue