mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-26 14:45:29 -08:00
added tailscale to desktop and laptop configs
This commit is contained in:
parent
a10d996e9b
commit
731cc7b50b
3 changed files with 18 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue