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 ./terminal.nix
../programs/chezmoi.nix ../programs/chezmoi.nix
../programs/git.nix ../programs/git.nix
../programs/nvim.nix
]; ];
} }

View File

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

View File

@ -1,29 +1,7 @@
{ config, lib, pkgs, user, home-manager, ... }: { config, lib, pkgs, user, ... }:
{
let cfg = config.modules.programs.nvim; environment.systemPackages = with pkgs; [
in { neovim # Fork of Vim aiming to improve extensibility and usability
options.modules.programs.nvim = with lib; { pyright # Latest version of the Pyright package, a static type checker for Python
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
];
};
} }