From 868ff05ee078d86b24dc422e7fde8dd6f4959246 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 20 Jul 2024 01:21:57 +0200 Subject: [PATCH] styx: tailscale alias --- home/programs/fish.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/programs/fish.nix b/home/programs/fish.nix index abafc74..210f643 100644 --- a/home/programs/fish.nix +++ b/home/programs/fish.nix @@ -4,6 +4,7 @@ let inherit (pkgs) fetchFromGitHub; inherit (pkgs.stdenv) isDarwin; inherit (lib) optionals; + inherit (lib.attrsets) optionalAttrs; in { @@ -69,6 +70,8 @@ in 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"; lt = "${lib.getExe pkgs.eza} --long --all --group --header --tree --level "; + } // optionalAttrs isDarwin { + tailscale = "/Applications/Tailscale.app/Contents/MacOS/Tailscale"; }; functions = {