Enable tailscale

This commit is contained in:
Gregory Hellings
2022-04-06 13:29:05 -05:00
parent fea97d9e05
commit 9b4649368a
+5 -2
View File
@@ -1,11 +1,14 @@
{ config, ... }:
{ ... }:
{
services.tailscale.enable = true;
networking = {
# This value is deprecated, you now set it per interface
useDHCP = false;
defaultGateway = "10.42.1.1";
nameservers = [ "127.0.0.1" ];
# 100.100.100.100 is the tailscale DNS
nameservers = [ "100.100.100.100" "127.0.0.1" ];
interfaces = {
eth0.ipv4.addresses = [ {
address = "10.42.1.2";