Files
nixos-blueprint/modules/home/programs/editor/neve.nix
2025-02-06 21:57:45 +02:00

29 lines
451 B
Nix

{
pkgs,
lib,
inputs,
config,
...
}:
with lib; let
cfg = config.editor.neve;
in {
options = {
editor.neve.enable =
mkEnableOption "enable neve neovim distribution";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
neovide
cpplint
statix
];
programs.nixvim = {
enable = true;
imports = [inputs.neve.nixvimModule];
viAlias = true;
vimAlias = true;
};
};
}