aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
};
};
}