1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 18:41:09 +01:00
This commit is contained in:
2025-12-27 22:22:54 +01:00
parent cb0307e8bf
commit c3db0404b3
139 changed files with 2630 additions and 1976 deletions

View File

@@ -4,32 +4,35 @@
pkgs,
...
}:
with lib; {
with lib;
{
options.niveum = {
wirelessInterface = mkOption {type = types.str;};
wirelessInterface = mkOption { type = types.str; };
batteryName = mkOption {type = types.str;};
batteryName = mkOption { type = types.str; };
promptColours = let
colours16 = types.enum [
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
];
in {
success = mkOption {
type = colours16;
default = "green";
promptColours =
let
colours16 = types.enum [
"black"
"red"
"green"
"yellow"
"blue"
"magenta"
"cyan"
"white"
];
in
{
success = mkOption {
type = colours16;
default = "green";
};
failure = mkOption {
type = colours16;
default = "red";
};
};
failure = mkOption {
type = colours16;
default = "red";
};
};
};
}