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