migrate nvim

This commit is contained in:
Tyler Starr 2025-03-12 23:22:37 -07:00
parent 4e94696328
commit 5c69bed319
3 changed files with 7 additions and 29 deletions

View File

@ -4,5 +4,6 @@
./terminal.nix
../programs/chezmoi.nix
../programs/git.nix
../programs/nvim.nix
];
}

View File

@ -2,7 +2,6 @@
{
imports = [
./appgate-sdp.nix
./nvim.nix
./virt-manager.nix
./yt-dlp.nix
];

View File

@ -1,29 +1,7 @@
{ 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 {
{ config, lib, pkgs, user, ... }:
{
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
];
};
}