20 lines
292 B
Nix
20 lines
292 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; [
|
|
marleyos.neovim
|
|
];
|
|
};
|
|
}
|