18 lines
285 B
Nix
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
|
|
];
|
|
};
|
|
}
|