2023-03-19 16:10:00 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-07-29 06:23:20 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf mkEnableOption;
|
|
|
|
|
2023-03-19 16:10:00 +00:00
|
|
|
cfg = config.aa.apps.neovim;
|
|
|
|
in {
|
2024-07-29 06:23:20 +00:00
|
|
|
options.aa.apps.neovim = {
|
2023-03-19 16:10:00 +00:00
|
|
|
enable = mkEnableOption "neovim";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2024-06-01 07:30:09 +00:00
|
|
|
environment.systemPackages = with pkgs; [neovim];
|
2023-03-19 16:10:00 +00:00
|
|
|
};
|
|
|
|
}
|