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

19 lines
285 B
Nix
Raw Normal View History

2024-11-21 21:27:08 -08:00
{
lib,
config,
pkgs,
...
2025-01-05 16:15:19 -08:00
}: let
2024-11-21 21:27:08 -08:00
inherit (lib) mkEnableOption mkIf;
cfg = config.marleyos.programs.neovim;
2025-01-05 16:15:19 -08:00
in {
2024-11-21 21:27:08 -08:00
options.marleyos.programs.neovim.enable = mkEnableOption "neovim";
config = mkIf cfg.enable {
home.packages = with pkgs; [
2025-01-05 16:15:19 -08:00
nvim-pkg
2024-11-21 21:27:08 -08:00
];
};
}