From dbba4a63e0fa5e11a32c2bac8b15a705347ae31f Mon Sep 17 00:00:00 2001 From: Zhongheng Liu Date: Sun, 11 Aug 2024 20:28:38 +0800 Subject: [PATCH] feat: change nixvim toggleterm to use fish as shell --- home-manager/stvnliu/nixvim/default.nix | 6 +++++- home-manager/stvnliu/nixvim/toggleterm.nix | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home-manager/stvnliu/nixvim/default.nix b/home-manager/stvnliu/nixvim/default.nix index 9aadbe4..217d573 100644 --- a/home-manager/stvnliu/nixvim/default.nix +++ b/home-manager/stvnliu/nixvim/default.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { imports = [ ./auto-pairs.nix ./autosave.nix diff --git a/home-manager/stvnliu/nixvim/toggleterm.nix b/home-manager/stvnliu/nixvim/toggleterm.nix index 125b000..5d1ec1d 100644 --- a/home-manager/stvnliu/nixvim/toggleterm.nix +++ b/home-manager/stvnliu/nixvim/toggleterm.nix @@ -3,6 +3,9 @@ enable = true; settings = { open_mapping = "[[]]"; + # FIXME this is weird because the shell option must be manually updated + # because I don't understand how .nix files work when imported + shell = "fish"; }; }; }