From 43ac4f5a74ef47908e55ba7242ebf9600ee26626 Mon Sep 17 00:00:00 2001 From: sils Date: Mon, 14 Aug 2023 12:40:58 +0200 Subject: Feat(treewide): Switch to nixvim and tweak nvim config --- users/sils/default.nix | 6 ++--- users/sils/nixneovim/default.nix | 51 ---------------------------------------- users/sils/nixvim/default.nix | 51 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 users/sils/nixneovim/default.nix create mode 100644 users/sils/nixvim/default.nix (limited to 'users') diff --git a/users/sils/default.nix b/users/sils/default.nix index 48e5dd5..8483819 100644 --- a/users/sils/default.nix +++ b/users/sils/default.nix @@ -1,4 +1,4 @@ -{nixneovim, ...}: { +{nixvim, ...}: { imports = [ ./direnv #./eww @@ -8,7 +8,7 @@ ./hyfetch ./hyprland ./mako - ./nixneovim + ./nixvim ./packages #./river #TODO Update Shell Library ./ssh @@ -17,7 +17,7 @@ #./yambar #TODO Update Shell Library ./waybar ./zsh - nixneovim.nixosModules.default + nixvim.homeManagerModules.nixvim ]; home = { diff --git a/users/sils/nixneovim/default.nix b/users/sils/nixneovim/default.nix deleted file mode 100644 index db12279..0000000 --- a/users/sils/nixneovim/default.nix +++ /dev/null @@ -1,51 +0,0 @@ -{...}: { - programs.nixneovim = { - enable = true; - options = { - number = true; - relativenumber = true; - shiftwidth = 2; - tabstop = 2; - scrolloff = 999; - }; - colorschemes.gruvbox-baby.enable = true; - plugins = { - airline = { - enable = true; - powerline = true; - theme = "minimalist"; - }; - barbar = { - enable = true; - autoHide = true; - }; - nvim-cmp = { - enable = true; - snippet = { - luasnip = { - enable = true; - }; - }; - }; - lsp = { - enable = true; - servers = { - nil.enable = true; - rust-analyzer.enable = true; - ltex.enable = true; - }; - }; - treesitter = { - enable = true; - indent = true; - }; - mini = { - enable = true; - }; - nvim-tree = { - enable = true; - git.enable = true; - }; - }; - }; -} diff --git a/users/sils/nixvim/default.nix b/users/sils/nixvim/default.nix new file mode 100644 index 0000000..a35ab35 --- /dev/null +++ b/users/sils/nixvim/default.nix @@ -0,0 +1,51 @@ +{...}: { + programs.nixvim = { + enable = true; + options = { + number = true; + relativenumber = true; + shiftwidth = 2; + tabstop = 2; + scrolloff = 999; + }; + colorschemes.gruvbox.enable = true; + plugins = { + airline = { + enable = true; + powerline = true; + theme = "minimalist"; + }; + barbar = { + enable = true; + autoHide = true; + }; + coq-nvim = { + enable = true; + autoStart = "shut-up"; + installArtifacts = true; + }; + lsp = { + enable = true; + servers = { + nil_ls.enable = true; + rust-analyzer.enable = true; + ltex.enable = true; + }; + }; + treesitter = { + enable = true; + indent = true; + }; + mini = { + enable = true; + }; + #nvim-tree = { + # enable = true; + # git.enable = true; + #}; + neo-tree = { + enable = true; + }; + }; + }; +} -- cgit 1.4.1