nix-community.nixvim/wrappers/modules/hm.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
445 B
Nix
Raw Normal View History

2024-07-02 15:06:39 +01:00
{ lib, ... }:
{
options = {
2024-08-30 14:39:23 -05:00
defaultEditor = lib.mkEnableOption "nixvim as the default editor";
2024-03-30 13:54:48 +01:00
2024-08-30 14:39:23 -05:00
vimdiffAlias = lib.mkOption {
type = lib.types.bool;
2024-03-30 13:54:48 +01:00
default = false;
description = ''
Alias `vimdiff` to `nvim -d`.
'';
};
};
2024-07-02 15:06:39 +01:00
imports = [ ./shared.nix ];
config = {
wrapRc = lib.mkOptionDefault false;
impureRtp = lib.mkOptionDefault true;
meta.wrapper.name = "home-manager";
};
}