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

38 lines
624 B
Nix
Raw Normal View History

2024-08-27 14:10:04 +00:00
{ ... }:
{
programs.nixvim = {
enable = true;
2024-08-27 22:04:10 +00:00
defaultEditor = true;
2024-08-27 14:10:04 +00:00
viAlias = true;
vimAlias = true;
performance.byteCompileLua.enable = true;
2024-09-06 13:28:06 +00:00
colorschemes.catppuccin = {
enable = true;
settings.flavour = "frappe";
};
2024-08-27 14:10:04 +00:00
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;
};
};
};
};
}