nixos/home/nixvim/nixvim.nix
2025-12-05 11:59:27 +01:00

31 lines
446 B
Nix

{
config,
pkgs,
lib,
...
}:
{
imports = [
./plugins.nix
./keymaps.nix
./coding.nix
];
programs.nixvim = {
enable = true;
extraPackages = with pkgs; [
nixd
nixpkgs-fmt
];
globals.mapleader = " ";
defaultEditor = true;
wrapRc = true;
opts = {
number = true;
relativenumber = true;
shiftwidth = 4;
termguicolors = true;
cursorline = true;
};
};
}