summary refs log tree commit diff
path: root/profiles/network.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-01-14 14:57:09 +0200
committertzlil <tzlils@protonmail.com>2023-01-14 14:57:09 +0200
commitbc26a5e5d1cc06c42125741b1b433a5e193ff913 (patch)
tree7a61ad71662ddfb9a275412df619f5cc10abb998 /profiles/network.nix
parent5c2c785818f31e5aba2781e1b4c237d7db51a919 (diff)
add tailscale ips to /etc/hosts
Diffstat (limited to 'profiles/network.nix')
-rw-r--r--profiles/network.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/profiles/network.nix b/profiles/network.nix
index ad1dc5c..0ba325b 100644
--- a/profiles/network.nix
+++ b/profiles/network.nix
@@ -14,6 +14,12 @@
       useDHCP = false;
       nameservers = ["127.0.0.1" "::1"];
       networkmanager.dns = "none";
+      extraHosts = 
+        ''
+          100.99.246.128 pc
+          100.105.242.70 phone
+          100.109.155.123 vm
+        '';
     };
 
     services.dnscrypt-proxy2 = {