Thomas Bennett <[email protected]> writes: > Hello, > > I'd like to use AdGuardHome in Guix and I have some questions. > > 1. Do you confirm that the package really is unavailable nor in review? > I could have missed it because I'm not familliar around here. > > 2. If it is unavailable, I'm willing to create it and submit it in some > future. I'm kind of surprised to not seeing it already, is there some no > go or warning against this tool? > > 3. If the package is not available maybe there is an available > alternative that I could use to mimic what adguardhome is doing without > too much low level configuration i.e. acting as a dns server filtering > domains from block lists. Do you think of one? >
Hi Thomas,
You can extend the hosts-service-type to block domains locally:
(simple-service 'add-extra-hosts
hosts-service-type
(list (host "100::" "reddit.com" '("www.reddit.com"))
(host "100::" "territorial.io" '())))
Mine is pretty simple for blocking sites I used to waste my time on. But
you could imagine using something like StevenBlack’s hosts collection[1]
to get a lot more blocks.
If you want to go that route, I can assist you as I would like to use
it. I already have a package for building that collection[2] but I
didn’t go further as to having it used in my Guix System.
Good day,
Noé
[1] https://github.com/stevenBlack/hosts
[2]
https://framagit.org/nll/bloup/-/blob/master/src/bloup/packages/hosts.scm#L11
>
> Thank you,
> Best,
> Thomas
>
> --
> Thomas Bennett
> développeur logiciel
> --
> https://caminu.fr
> +33 6 06 69 76 21
signature.asc
Description: PGP signature
