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
|
|
@ -57,6 +57,7 @@
|
|||
firefox.enable = true;
|
||||
openssh.enable = true;
|
||||
helix.enable = true;
|
||||
nvchad.enable = true;
|
||||
# spacemacs.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
(with inputs; [
|
||||
sops-nix.homeManagerModules.sops
|
||||
betterfox-nix.homeModules.betterfox
|
||||
nix4nvchad.homeManagerModule
|
||||
])
|
||||
++ lib.youthlic.loadImports ./.;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue