Make program integrations conditional on shell

This commit is contained in:
2026-05-24 16:54:02 +02:00
parent 98069fa8d9
commit 83aa051d92
10 changed files with 82 additions and 39 deletions
+9 -3
View File
@@ -1,8 +1,14 @@
_: {
{shell, ...}: {
programs.fzf = {
enable = true;
enableFishIntegration = true;
enableBashIntegration = true;
enableFishIntegration =
if shell == "fish"
then true
else false;
enableBashIntegration =
if shell == "bash"
then true
else false;
defaultOptions = [
"--margin=1"
"--layout=reverse"