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";
|
||||
};
|
||||
|
||||
val = mkOption {
|
||||
type = with helpers.nixvimTypes;
|
||||
oneOf [
|
||||
val =
|
||||
helpers.mkNullOrOption
|
||||
(with helpers.nixvimTypes;
|
||||
nullOr (oneOf [
|
||||
# "button", "text"
|
||||
str
|
||||
# "padding"
|
||||
|
@ -36,10 +37,8 @@ with lib; let
|
|||
# "group"
|
||||
(attrsOf anything)
|
||||
))
|
||||
];
|
||||
default = null;
|
||||
description = "Value for section";
|
||||
};
|
||||
]))
|
||||
"Value for section";
|
||||
|
||||
opts = mkOption {
|
||||
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 = {
|
||||
plugins.alpha = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue