mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
migrate nvim
This commit is contained in:
parent
4e94696328
commit
5c69bed319
@ -4,5 +4,6 @@
|
||||
./terminal.nix
|
||||
../programs/chezmoi.nix
|
||||
../programs/git.nix
|
||||
../programs/nvim.nix
|
||||
];
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./appgate-sdp.nix
|
||||
./nvim.nix
|
||||
./virt-manager.nix
|
||||
./yt-dlp.nix
|
||||
];
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user