nixos/home/nixvim/nixvim.nix

34 lines
493 B
Nix
Raw Normal View History

2026-03-03 20:15:06 +01:00
{
config,
pkgs,
lib,
...
}:
{
imports = [
./plugins.nix
./keymaps.nix
./coding.nix
];
programs.nixvim = {
enable = true;
extraPackages = with pkgs; [
nixd
nixpkgs-fmt
stylua
2026-03-04 21:43:27 +01:00
black
2026-03-03 20:15:06 +01:00
];
globals.mapleader = " ";
defaultEditor = true;
wrapRc = true;
opts = {
number = true;
relativenumber = true;
shiftwidth = 4;
termguicolors = true;
cursorline = true;
laststatus = 0;
};
};
}