chore: cleanup unused packages on Darwin
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Greg Hellings
2026-04-29 13:02:12 -05:00
parent f8cc47614f
commit c3e3ca84a2
6 changed files with 3 additions and 130 deletions
-4
View File
@@ -2,14 +2,12 @@
writeShellApplication,
curl,
gnused,
systemd,
}:
writeShellApplication {
name = "adblock-update";
runtimeInputs = [
curl
gnused
systemd
];
text = ''
curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | sed '1,33d' > /etc/adblock_hosts
@@ -19,7 +17,5 @@ writeShellApplication {
for f in "segment.com" "segment.io" "branch.io" "dev.visualwebsiteoptimizer.com" "click.discord.com"; do
sed -i -e "/''${f}/d" /etc/adblock_hosts # Blocks Trelly content for house investors
done
systemctl restart dnsmasq
'';
}