mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 03:20:08 +02:00
parent
6484938d4b
commit
9b9912077e
2 changed files with 23 additions and 7 deletions
|
@ -22,9 +22,10 @@ with lib; let
|
||||||
description = "Type of section";
|
description = "Type of section";
|
||||||
};
|
};
|
||||||
|
|
||||||
val = mkOption {
|
val =
|
||||||
type = with helpers.nixvimTypes;
|
helpers.mkNullOrOption
|
||||||
oneOf [
|
(with helpers.nixvimTypes;
|
||||||
|
nullOr (oneOf [
|
||||||
# "button", "text"
|
# "button", "text"
|
||||||
str
|
str
|
||||||
# "padding"
|
# "padding"
|
||||||
|
@ -36,10 +37,8 @@ with lib; let
|
||||||
# "group"
|
# "group"
|
||||||
(attrsOf anything)
|
(attrsOf anything)
|
||||||
))
|
))
|
||||||
];
|
]))
|
||||||
default = null;
|
"Value for section";
|
||||||
description = "Value for section";
|
|
||||||
};
|
|
||||||
|
|
||||||
opts = mkOption {
|
opts = mkOption {
|
||||||
type = with types; attrsOf anything;
|
type = with types; attrsOf anything;
|
||||||
|
|
|
@ -13,6 +13,23 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
terminal = {
|
||||||
|
plugins.alpha = {
|
||||||
|
enable = true;
|
||||||
|
layout = [
|
||||||
|
{
|
||||||
|
type = "terminal";
|
||||||
|
command = "thisisfine";
|
||||||
|
width = 46;
|
||||||
|
height = 25;
|
||||||
|
opts = {
|
||||||
|
redraw = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
custom-layout = {
|
custom-layout = {
|
||||||
plugins.alpha = {
|
plugins.alpha = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue