feat: full refactoring - work in progress...
This commit is contained in:
29
modules/home-manager/programs/nvim.nix
Normal file
29
modules/home-manager/programs/nvim.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.myHome.programs.nvim.enable = lib.mkEnableOption "enables neovim";
|
||||
|
||||
config = lib.mkIf config.myHome.programs.nvim.enable {
|
||||
home.packages = with pkgs; [
|
||||
lua
|
||||
lua52Packages.luarocks
|
||||
ghostscript
|
||||
tectonic
|
||||
mermaid-cli
|
||||
lazygit
|
||||
];
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
vimAlias = true;
|
||||
viAlias = true;
|
||||
};
|
||||
home.file.".config/nvim" = {
|
||||
source = ../../../dotfiles/nvim;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user