Sorted some stuff in configuration
This commit is contained in:
parent
6599e23992
commit
5e05a1e5c1
36 changed files with 210 additions and 216 deletions
43
nixos/modules/nixvim/default.nix
Normal file
43
nixos/modules/nixvim/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
colorschemes.catppuccin.enable = true;
|
||||
plugins = {
|
||||
cmp = {
|
||||
enable = true;
|
||||
autoEnableSources = true;
|
||||
};
|
||||
lsp-format = {
|
||||
enable = false;
|
||||
};
|
||||
lsp = {
|
||||
enable = false;
|
||||
inlayHints = true;
|
||||
servers = {
|
||||
nixd = {
|
||||
enable = true;
|
||||
#extraOptions = {
|
||||
# nixos = {
|
||||
# expr = "(builtins.getFlake \"/etc/nixos\").nixosConfigurations.aurelionite.options";
|
||||
#};
|
||||
#home_manager = {
|
||||
# expr = "(builtins.getFlake \"/etc/nixos\").homeConfigurations.aurelionite.options";
|
||||
#};
|
||||
#};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
opts = {
|
||||
number = true;
|
||||
shiftwidth = 4;
|
||||
relativenumber = false;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue