diff options
author | sils <sils@sils.li> | 2023-07-28 17:16:02 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-07-28 17:16:02 +0200 |
commit | 03393dc8eee5d0ef37057828209e8d6e20892cfa (patch) | |
tree | 4cf1e68ea9cbfe504035391779e5f610d2cf3677 /users | |
parent | Fix(flake): Pass pkgs to home-manager (diff) | |
download | nix-config-03393dc8eee5d0ef37057828209e8d6e20892cfa.tar.gz nix-config-03393dc8eee5d0ef37057828209e8d6e20892cfa.zip |
Feat(u/sils): Add nixneovim
Diffstat (limited to 'users')
-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; + }; + }; + }; +} |