about summary refs log tree commit diff
path: root/tools/url-blocker
AgeCommit message (Collapse)AuthorFilesLines
2020-08-20 Drop support for dir-locals.nix, <nixpkgs>, etc.William Carroll3-12/+9
In the spirit of Marie Kondo, I'm tidying up! TL;DR: - Prefer .envrc `use_nix` and delete all dir-locals.nix files - Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer referencing each with briefcase.third_party.{pkgs,unstable,depot} - Delete nixBufferFromShell function since I was only using that in dir-locals.nix files
2020-07-02 Prefer builtins.pathWilliam Carroll1-3/+1
Thanks to the Nix anti-patterns documented here... https://nix.dev/anti-patterns/language.html#reproducability-referencing-top-level-directory-with ...I'm cleaning up some of my Nix expressions. Read the article for more context.
2020-03-29 Drop attempt to support a user-local /etc/hostsWilliam Carroll2-2/+0
While the idea of managing the hosts at a per-user level appeals much more to me that running this as root and managing /etc/hosts, I haven't been able to get it to work.
2020-03-29 Delete the stale testsWilliam Carroll2-44/+1
While this project would benefit from having test coverage, the current tests are not providing any useful coverage.
2020-03-29 Read and write to /etc/hostsWilliam Carroll8-0/+375
TL;DR: - Rename website-blocker to url-blocker - Add a README.md - Reads and writes to /etc/hosts