Set up tailscale
This commit is contained in:
parent
0047769696
commit
c8eef155e5
|
@ -16,6 +16,7 @@ let
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./wireless
|
./wireless
|
||||||
|
./tailscale.nix
|
||||||
../../../../common
|
../../../../common
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
4
hosts/nixos/common/global/tailscale.nix
Normal file
4
hosts/nixos/common/global/tailscale.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
# enable the tailscale service
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
}
|
|
@ -40,7 +40,7 @@
|
||||||
# {{{ Some ad-hoc site blocking
|
# {{{ Some ad-hoc site blocking
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
127.0.0.1 twitter.com
|
127.0.0.1 twitter.com
|
||||||
127.0.0.1 www.reddit.com
|
|
||||||
'';
|
'';
|
||||||
|
# 127.0.0.1 www.reddit.com
|
||||||
# }}}
|
# }}}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue