summaryrefslogtreecommitdiff
path: root/home-modules/apps
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-08 23:23:19 +0200
committerJakub Stachurski <j.stachurski@student.utwente.nl>2026-05-08 23:23:19 +0200
commitbb957032ffc5352229edbbdcdb56b9dba4408f37 (patch)
tree8d6c171a49aae83dfc191e2aad1ecf55330f0bb4 /home-modules/apps
parentad57da6bda1cb00ab11f78125c16daebbf0c221c (diff)
Tacitus hosts and locale
Diffstat (limited to 'home-modules/apps')
-rw-r--r--home-modules/apps/nvim/default.nix44
1 files changed, 25 insertions, 19 deletions
diff --git a/home-modules/apps/nvim/default.nix b/home-modules/apps/nvim/default.nix
index ae284bd..4dfbd17 100644
--- a/home-modules/apps/nvim/default.nix
+++ b/home-modules/apps/nvim/default.nix
@@ -15,41 +15,47 @@ in
};
config = lib.mkIf config.homeapps.nvim.enable {
+ home.sessionVariables = {
+ TERM = "nvim";
+ };
+
programs.neovim = {
- enable = true;
+ enable = false;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
- withPython3 = true;
- withNodeJs = true;
- withRuby = true;
+ withPython3 = false;
+ withNodeJs = false;
+ withRuby = false;
- coc.enable = false;
- plugins = [
- ];
+ # coc.enable = false;
};
- home.file."./.config/nvim/lua/wilkuu/nix.lua".text = ''
+ home.file = lib.mkIf config.homeapps.nvim.lsp {
+ "./.config/nvim/lua/wilkuu/nix.lua".text = config.homeapps.nvim.lsp ''
return {
vue_ts_plugin = "${lib.getBin vue_ls}/lib/node_modules/@vue/language-server/node_modules/@vue/typescript-plugin/"
}
- '';
+ '';};
home.sessionPath = [
"/home/wilkuu/.npm/bin/"
];
- home.packages = lib.mkIf config.homeapps.nvim.lsp (
+ home.packages =
with pkgs;
- [
- lua
- lua-language-server
- ]
- ++ [
- ts_ls
- vue_ls
- ]
- );
+ lib.mkMerge [
+ (lib.mkIf config.homeapps.nvim.lsp ([
+ lua
+ lua-language-server
+ ts_ls
+ vue_ls
+ ]))
+ [
+ neovim
+ neovim-node-client
+ ]
+ ];
};
}