all of my custom options are now held in an attribute set called movOpts

This commit is contained in:
pagedmov
2024-11-06 19:55:39 -05:00
parent a53bae9870
commit fc327f501c
13 changed files with 65 additions and 47 deletions

View File

@@ -3,7 +3,7 @@
plugins.coq-nvim = {
enable = true;
settings = {
auto_start = false;
auto_start = true;
};
};
};

View File

@@ -1,3 +1,5 @@
{ host, self, ... }:
{
imports = [
./alpha.nix
@@ -6,7 +8,7 @@
./coq.nix
./barbar.nix
./cmp.nix
./lsp.nix
( import ./lsp.nix { inherit host self; })
./lualine.nix
./plugins.nix
./nvim-tree.nix

View File

@@ -1,24 +1,39 @@
{
programs.nixvim = {
plugins.lsp = {
enable = true;
servers = {
bashls.enable = true;
ccls.enable = true;
clangd.enable = true;
cmake.enable = true;
html.enable = true;
jsonls.enable = true;
lua_ls.enable = true;
marksman.enable = true;
nil_ls.enable = true;
pyright.enable = true;
sqls.enable = true;
hls = {
enable = true;
installGhc = true;
{ host, ... }:
let
flakePath = builtins.getEnv "FLAKEPATH";
in
{
programs.nixvim = {
plugins.lsp = {
enable = true;
servers = {
bashls.enable = true;
ccls.enable = true;
clangd.enable = true;
cmake.enable = true;
html.enable = true;
jsonls.enable = true;
lua_ls.enable = true;
marksman.enable = true;
nixd = {
enable = true;
settings = {
nixd = {
nixpkgs.expr = "import <nixpkgs> { }";
formatting.command = "nixfmt";
options = {
nixos.expr = "(builtins.getFlake \"${flakePath}\").nixosConfigurations.${host}.options";
};
};
};
};
pyright.enable = true;
sqls.enable = true;
hls = {
enable = true;
installGhc = true;
};
};
};
};
};
}
}