From e997ed95d7a92df294b7b575a1cc1c79abe72609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 20 May 2023 14:27:16 -0300 Subject: [PATCH] fish: only install done when using sway --- user/fish/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/user/fish/default.nix b/user/fish/default.nix index 9710e55..8509c18 100644 --- a/user/fish/default.nix +++ b/user/fish/default.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: -let inherit (pkgs.uservars) key theme color accent font editor; +let inherit (pkgs.uservars) key theme color accent font editor desktop; in { config = { programs.fish = { @@ -85,7 +85,6 @@ in { ]) ++ (with pkgs.unstable.fishPlugins; [ async-prompt foreign-env - done - ]); + ] ++ (lib.optional (desktop == "sway") done)); }; }