36 lines
597 B
Nix
36 lines
597 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 = {
|
|
relativenumber = true;
|
|
clipboard = "unnamedplus";
|
|
};
|
|
|
|
files = {
|
|
"ftplugin/nix.lua" = {
|
|
opts = {
|
|
expandtab = true;
|
|
shiftwidth = 2;
|
|
tabstop = 2;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|