mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
30 lines
502 B
Nix
30 lines
502 B
Nix
{ config, lib, pkgs, user, home-manager, ... }:
|
|
|
|
let cfg = config.modules.programs.nvim;
|
|
in {
|
|
options.modules.programs.nvim = with lib; {
|
|
enable = lib.mkOption {
|
|
type = with types; bool;
|
|
default = true;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
neovim # Fork of Vim aiming to improve extensibility and usability.
|
|
pyright # Latest version of the Pyright package, a static type checker for Python.
|
|
];
|
|
};
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|