marleyos/modules/home/programs/neovim/default.nix
2025-01-05 16:15:19 -08:00

18 lines
285 B
Nix

{
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; [
nvim-pkg
];
};
}