diff options
Diffstat (limited to '')
-rw-r--r-- | users/sils/default.nix | 5 | ||||
-rw-r--r-- | users/sils/nixneovim/default.nix | 37 |
2 files changed, 40 insertions, 2 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix index ee7ceef..892d5d4 100644 --- a/users/sils/default.nix +++ b/users/sils/default.nix @@ -1,16 +1,17 @@ -{...}: { +{nixneovim, ...}: { imports = [ ./direnv ./git ./gpg #./grades ./mako - ./neovim + ./nixneovim ./packages #./river #TODO Update Shell Library ./xsession #./yambar #TODO Update Shell Library ./zsh + nixneovim.nixosModules.default ]; home = { diff --git a/users/sils/nixneovim/default.nix b/users/sils/nixneovim/default.nix new file mode 100644 index 0000000..248a307 --- /dev/null +++ b/users/sils/nixneovim/default.nix @@ -0,0 +1,37 @@ +{...}: { + programs.nixneovim = { + enable = true; + options = { + number = true; + relativenumber = true; + shiftwidth = 2; + }; + colorschemes.gruvbox-baby.enable = true; + plugins = { + airline = { + enable = true; + powerline = true; + theme = "minimalist"; + }; + barbar = { + enable = true; + autoHide = true; + }; + lsp = { + enable = true; + servers = { + nil.enable = true; + rust-analyzer.enable = true; + ltex.enable = true; + }; + }; + treesitter = { + enable = true; + indent = true; + }; + mini = { + enable = true; + }; + }; + }; +} |