aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-08-11 20:28:38 +0800
committerZhongheng Liu <z.liu@outlook.com.gr>2024-08-11 20:28:38 +0800
commitdbba4a63e0fa5e11a32c2bac8b15a705347ae31f (patch)
tree7bb4bd249adc7aa4f98432f19e30afc28fc7baed
parent5fbc081c4645325ab1ab1e7ab054f535fed41977 (diff)
downloadnixos-configuration-dbba4a63e0fa5e11a32c2bac8b15a705347ae31f.tar.gz
nixos-configuration-dbba4a63e0fa5e11a32c2bac8b15a705347ae31f.tar.bz2
nixos-configuration-dbba4a63e0fa5e11a32c2bac8b15a705347ae31f.zip
feat: change nixvim toggleterm to use fish as shell
-rw-r--r--home-manager/stvnliu/nixvim/default.nix6
-rw-r--r--home-manager/stvnliu/nixvim/toggleterm.nix3
2 files changed, 8 insertions, 1 deletions
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 = "[[<C-t>]]";
+ # 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";
};
};
}