nixos: enable tailscale module

This commit is contained in:
2026-02-13 03:57:41 -08:00
parent 2162f058ff
commit 2f3aa004f5
3 changed files with 14 additions and 0 deletions

10
nixos/tailscale.nix Normal file
View 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 ];
}