From 03393dc8eee5d0ef37057828209e8d6e20892cfa Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 28 Jul 2023 17:16:02 +0200 Subject: Feat(u/sils): Add nixneovim --- users/sils/default.nix | 5 +++-- users/sils/nixneovim/default.nix | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 users/sils/nixneovim/default.nix (limited to 'users') 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; + }; + }; + }; +} -- cgit 1.4.1