1
0
Fork 0

styx: tailscale alias

This commit is contained in:
Daniel Kempkens 2024-07-20 01:21:57 +02:00
parent 78b7c4d734
commit 868ff05ee0
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -4,6 +4,7 @@ let
inherit (pkgs) fetchFromGitHub; inherit (pkgs) fetchFromGitHub;
inherit (pkgs.stdenv) isDarwin; inherit (pkgs.stdenv) isDarwin;
inherit (lib) optionals; inherit (lib) optionals;
inherit (lib.attrsets) optionalAttrs;
in in
{ {
@ -69,6 +70,8 @@ in
la = "${lib.getExe pkgs.eza} --long --all --group --header --group-directories-first --sort=type --icons"; la = "${lib.getExe pkgs.eza} --long --all --group --header --group-directories-first --sort=type --icons";
lg = "${lib.getExe pkgs.eza} --long --all --group --header --git"; lg = "${lib.getExe pkgs.eza} --long --all --group --header --git";
lt = "${lib.getExe pkgs.eza} --long --all --group --header --tree --level "; lt = "${lib.getExe pkgs.eza} --long --all --group --header --tree --level ";
} // optionalAttrs isDarwin {
tailscale = "/Applications/Tailscale.app/Contents/MacOS/Tailscale";
}; };
functions = { functions = {