mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Split system config into tons of modules!
This commit is contained in:
parent
74c00ca4ef
commit
8262f63886
21 changed files with 266 additions and 180 deletions
9
system/security/blocklist.nix
Normal file
9
system/security/blocklist.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, blocklist-hosts, pkgs, ... }:
|
||||
|
||||
let blocklist = builtins.readFile "${blocklist-hosts}/alternates/gambling-porn/hosts";
|
||||
in
|
||||
{
|
||||
networking.extraHosts = ''
|
||||
"${blocklist}"
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue