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
|
./terminal.nix
|
||||||
../programs/chezmoi.nix
|
../programs/chezmoi.nix
|
||||||
../programs/git.nix
|
../programs/git.nix
|
||||||
|
../programs/nvim.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
];
|
];
|
||||||
|
@ -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
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user