nixos: tailscale auto-connect via agenix auth key

This commit is contained in:
2026-02-13 04:35:47 -08:00
committed by Kat Huang
parent 14c86c61d4
commit 5d16fb00c0
4 changed files with 116 additions and 1 deletions

View File

@@ -149,6 +149,25 @@
};
};
systemd.user.services.tailscale-systray = {
Unit = {
Description = "Tailscale systray";
After = [ "graphical-session.target" "tray.target" ];
PartOf = [ "graphical-session.target" ];
Requires = [ "tray.target" ];
};
Service = {
ExecStart = "${pkgs.tailscale}/bin/tailscale systray";
Restart = "on-failure";
RestartSec = 3;
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
xdg.desktopEntries.google-chrome-devtools = {
name = "Google Chrome (DevTools)";
genericName = "Web Browser";