diff --git a/configs/flake-parts/nixvim.nix b/configs/flake-parts/nixvim.nix index b096bbd3..d18808e5 100644 --- a/configs/flake-parts/nixvim.nix +++ b/configs/flake-parts/nixvim.nix @@ -1,13 +1,23 @@ -{ lib, ... }: +{ ... }: { - setups.nixvim = { - configs.fiesta = { + setups.nixvim.configs = { + fiesta = { nixpkgsBranches = [ "nixos-unstable" "nixpkgs-unstable" ]; - neovimPackages = pkgs: with pkgs; [ + neovimPackages = p: with p; [ + neovim-nightly + ]; + }; + + trovebelt = { + nixpkgsBranches = [ + "nixos-unstable" + "nixpkgs-unstable" + ]; + neovimPackages = p: with p; [ neovim-nightly ]; }; diff --git a/configs/nixvim/trovebelt/README.adoc b/configs/nixvim/trovebelt/README.adoc new file mode 100644 index 00000000..a30afb10 --- /dev/null +++ b/configs/nixvim/trovebelt/README.adoc @@ -0,0 +1,6 @@ += Trovebelt, the use-for-all-of-the-other-software-development-projects NixVim configuration +:toc: + + +A large NixVim configuration intended to be used for everything software development-related and a little bit of everything. +This is mainly used for non-NixOS environments (including WSL) where installing additional dependencies such as language servers and tree-sitter language servers is a pain. diff --git a/configs/nixvim/trovebelt/default.nix b/configs/nixvim/trovebelt/default.nix new file mode 100644 index 00000000..805a161e --- /dev/null +++ b/configs/nixvim/trovebelt/default.nix @@ -0,0 +1,20 @@ +{ config, lib, ... }: + +{ + config = { + # Some general settings. + globals = { + mapleader = " "; + maplocalleader = ","; + syntax = true; + }; + + options = { + encoding = "utf-8"; + completeopt = [ "menuone" "noselect" ]; + expandtab = true; + shiftwidth = 4; + tabstop = 4; + }; + }; +}