mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 23:25:52 +05:30
10 lines
189 B
Nix
10 lines
189 B
Nix
|
{ config, blocklist-hosts, pkgs, ... }:
|
||
|
|
||
|
let blocklist = builtins.readFile "${blocklist-hosts}/alternates/gambling-porn/hosts";
|
||
|
in
|
||
|
{
|
||
|
networking.extraHosts = ''
|
||
|
"${blocklist}"
|
||
|
'';
|
||
|
}
|