feat: Add nvchad module and enable nvchad instead of nixvim
This commit is contained in:
parent
66196be557
commit
65a72ab802
16 changed files with 460 additions and 4 deletions
26
home/david/modules/programs/nvchad.nix
Normal file
26
home/david/modules/programs/nvchad.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.david.programs.nvchad;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
david.programs.nvchad = {
|
||||
enable = lib.mkEnableOption "nvchad";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.nvchad = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
editor-runtime
|
||||
];
|
||||
neovim = pkgs.neovim-nightly;
|
||||
backup = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue