main @ 21 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ lib, │
│ pkgs, │
│ ook, │
│ ... │
│ }: let │
│ inherit (ook.lib.services) mkGraphicalService; │
│ inherit (lib) getExe; │
│ in { │
│ systemd.user.services.tailscale-applet = mkGraphicalService { │
│ Unit = { │
│ Description = "Tray applet for tailscale"; │
│ Requires = ["tray.target"]; │
│ }; │
│ Service = { │
│ ExecStart = "${getExe pkgs.tailscale-systray}"; │
│ Restart = "on-abort"; │
│ }; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ lib, │
│ pkgs, │
│ ook, │
│ ... │
│ }: let │
│ inherit (ook.lib.services) mkGraphicalServ │
│ ice; │
│ inherit (lib) getExe; │
│ in { │
│ systemd.user.services.tailscale-applet = m │
│ kGraphicalService { │
│ Unit = { │
│ Description = "Tray applet for tailsca │
│ le"; │
│ Requires = ["tray.target"]; │
│ }; │
│ Service = { │
│ ExecStart = "${getExe pkgs.tailscale-s │
│ ystray}"; │
│ Restart = "on-abort"; │
│ }; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET