marleyos/modules/home/programs/neovim/default.nix

21 lines
292 B
Nix
Raw Normal View History

2024-11-21 21:27:08 -08:00
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.neovim;
in
{
options.marleyos.programs.neovim.enable = mkEnableOption "neovim";
config = mkIf cfg.enable {
home.packages = with pkgs; [
2024-11-22 17:05:34 -08:00
marleyos.neovim
2024-11-21 21:27:08 -08:00
];
};
}