nixos-config/system/security/blocklist.nix

10 lines
173 B
Nix

{ inputs, ... }:
let blocklist = builtins.readFile "${inputs.blocklist-hosts}/alternates/gambling-porn/hosts";
in
{
networking.extraHosts = ''
"${blocklist}"
'';
}