added tailscale to desktop and laptop configs

This commit is contained in:
Nickiel12 2023-08-05 10:30:10 -07:00
parent a10d996e9b
commit 731cc7b50b
3 changed files with 18 additions and 2 deletions

View file

@ -9,6 +9,9 @@
# then replace USERNAME with the computer's hostname which you created
# an "user" account in the first comment
# use this for android instructions
# https://github.com/juanfont/headscale/blob/main/docs/android-client.md
services.tailscale.enable = true;
# Defined here to indicate the settings are related
networking.firewall = {

View file

@ -9,6 +9,13 @@
networking.hosts = {
"10.0.0.183" = [ "headscale.nickiel.net" "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
};
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;

View file

@ -8,11 +8,17 @@
hardware.bluetooth.enable = true;
networking.hosts = {
"10.0.0.183" = [ "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
"10.0.0.183" = [ "headscale.nickiel.net" "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
};
services.tailscale.enable = true;
networking.firewall = {
checkReversePath = "loose";
trustedInterfaces = [ "tailscale0" ];
allowedUDPPorts = [ config.services.tailscale.port ];
};
time.hardwareClockInLocalTime = true;
boot.loader = {
efi = {
canTouchEfiVariables = true;