Add hosts
This commit is contained in:
parent
c1f1ddeacf
commit
7061d676ec
@ -14,6 +14,8 @@ in {
|
||||
networking.wireless.enable = true;
|
||||
imports = [ ./wireless-networks.nix ];
|
||||
|
||||
networking.extraHosts = secrets.hosts;
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
extraCommands = ''
|
||||
|
@ -1,4 +1,8 @@
|
||||
{
|
||||
hosts = ''
|
||||
203.0.113.1 example.com
|
||||
'';
|
||||
|
||||
iptables = ''
|
||||
# vpn with default interface name (tun/tap)
|
||||
iptables -A OUTPUT -d 192.0.2.15 -j ACCEPT
|
||||
|
Loading…
Reference in New Issue
Block a user