1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

Fix tailscale settings on Darwin

This commit is contained in:
RGBCube 2025-01-17 22:31:49 +03:00
parent 164d7251fd
commit 6b2a6bb4ad

View file

@ -1,7 +1,5 @@
{ lib, ... }: let
inherit (lib) enabled;
{ config, lib, ... }: let
inherit (lib) optionalString;
in {
environment.shellAliases.ts = "sudo tailscale";
services.tailscale = enabled;
environment.shellAliases.ts = "${optionalString config.isLinux "sudo "}tailscale";
}