Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
46 lines
839 B
Nix
46 lines
839 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
{
|
|
options = {
|
|
wKeyList = mkOption {
|
|
type = types.listOf types.attrs;
|
|
};
|
|
|
|
myvim = {
|
|
mkKey = mkOption {
|
|
type = types.attrs;
|
|
default = { };
|
|
};
|
|
|
|
icons = mkOption {
|
|
type = types.attrs;
|
|
default = { };
|
|
};
|
|
|
|
leader = mkOption {
|
|
description = "The leader key for nvim.";
|
|
type = types.str;
|
|
default = " ";
|
|
};
|
|
|
|
border = mkOption {
|
|
description = "The border style for nvim.";
|
|
type = types.enum [
|
|
"single"
|
|
"double"
|
|
"rounded"
|
|
"solid"
|
|
"shadow"
|
|
"curved"
|
|
"bold"
|
|
"none"
|
|
];
|
|
default = "rounded";
|
|
};
|
|
|
|
transparent = mkEnableOption "transparent" // {
|
|
default = true;
|
|
};
|
|
};
|
|
};
|
|
}
|