nixos: enable tailscale module
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
./sni.nix
|
./sni.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./taffybar.nix
|
./taffybar.nix
|
||||||
|
./tailscale.nix
|
||||||
./tts.nix
|
./tts.nix
|
||||||
./user-specific.nix
|
./user-specific.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
|
|||||||
10
nixos/tailscale.nix
Normal file
10
nixos/tailscale.nix
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{ config, lib, pkgs, makeEnable, ... }:
|
||||||
|
makeEnable config "myModules.tailscale" true {
|
||||||
|
# Provide stable SSH connectivity between your machines without needing port
|
||||||
|
# forwarding (works behind NAT/CGNAT).
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
# Handy even if you only enable the service and run `tailscale up` manually.
|
||||||
|
environment.systemPackages = [ pkgs.tailscale ];
|
||||||
|
}
|
||||||
|
|
||||||
@@ -8,6 +8,9 @@ makeEnable config "myModules.wsl" false {
|
|||||||
myModules.desktop.enable = false;
|
myModules.desktop.enable = false;
|
||||||
myModules.xmonad.enable = false;
|
myModules.xmonad.enable = false;
|
||||||
myModules.plasma.enable = false;
|
myModules.plasma.enable = false;
|
||||||
|
# Tailscale-in-WSL is usually better handled by the Windows host Tailscale
|
||||||
|
# client. Disable by default so WSL machines don't fail to start tailscaled.
|
||||||
|
myModules.tailscale.enable = false;
|
||||||
|
|
||||||
services.tzupdate.enable = true;
|
services.tzupdate.enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user