1
0
Fork 0
NixOS/hosts/totsugeki/development/nixvim/default.nix
2024-03-18 23:39:38 +01:00

40 lines
745 B
Nix

{ inputs, pkgs, ... }: {
imports = [
./completion.nix
./lsp.nix
./neo-tree.nix
./none-ls.nix
./treesitter.nix
];
programs.nixvim = {
enable = true;
colorschemes.catppuccin = {
enable = true;
flavour = "mocha";
disableItalic = true;
integrations = {
cmp = true;
neotree = true;
};
};
globals.mapleader = " ";
options = {
number = true;
cursorline = true;
tabstop = 4;
shiftwidth = 4;
expandtab = true;
ttyfast = true;
wrap = false;
mousemoveevent = true;
signcolumn = "yes";
};
plugins.nvim-autopairs.enable = true;
extraPlugins = with pkgs.vimPlugins; [ nvim-web-devicons ];
};
}