mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-08-17 21:45:53 +00:00
Tailscale with --operator=zephrynis so the daemon is drivable without sudo (Trayscale + tailscale switch/login from a plain shell), plus the Trayscale systray app. Imported into the nixos-pc host. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
521 B
Nix
16 lines
521 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
# Let zephrynis drive the daemon without sudo — required for Trayscale,
|
|
# and makes `tailscale switch` / `login` work from a plain shell too
|
|
extraSetFlags = [ "--operator=zephrynis" ];
|
|
};
|
|
|
|
# Tray app for the bar's systray: status toggle + account switcher
|
|
# (work/personal via Tailscale fast user switching). Autostarted from
|
|
# hypr/custom/execs.lua (appended in home/zephrynis.nix).
|
|
environment.systemPackages = [ pkgs.trayscale ];
|
|
}
|