nixos-config/modules/nixos/apps/cli-apps/nixvim/default.nix
2024-04-04 19:37:06 +02:00

25 lines
393 B
Nix

{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.cli-apps.nixvim;
in
{
options.wyrdgard.apps.cli-apps.nixvim = with types; {
enable = mkBoolOpt true "Whether to enable nixvim or not (Default true)";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
less
wyrdgard.neovim
];
};
}