flocon/home/common/programs/nixvim/core.nix

37 lines
624 B
Nix

{ ... }:
{
programs.nixvim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
performance.byteCompileLua.enable = true;
colorschemes.catppuccin = {
enable = true;
settings.flavour = "frappe";
};
clipboard.providers.wl-copy.enable = true;
globals.mapleader = " ";
opts = {
smartindent = false;
relativenumber = true;
clipboard = "unnamedplus";
};
files = {
"ftplugin/nix.lua" = {
opts = {
expandtab = true;
shiftwidth = 2;
tabstop = 2;
};
};
};
};
}