nixos/desktop/tailscale.nix
Julian Sutter aaa0cf7659 updates
2025-09-08 10:25:10 -07:00

23 lines
535 B
Nix

{ pkgs, ... }:
{
services.tailscale = {
enable = true;
openFirewall = true;
extraUpFlags = [ "--ssh" ];
useRoutingFeatures = "client";
};
environment.systemPackages = [ pkgs.tail-tray ]; # or pkgs.trayscale
# systemd.user.services.tail-tray = {
# description = "Tailscale tray (Plasma)";
# wantedBy = [ "graphical-session.target" ];
# after = [ "graphical-session.target" ];
# serviceConfig = {
# ExecStart = "${pkgs.tail-tray}/bin/tail-tray";
# Restart = "on-failure";
# };
# };
}