20 lines
410 B
Nix
20 lines
410 B
Nix
{ lib, ... }:
|
|
{
|
|
|
|
type = lib.types.submodule {
|
|
options = {
|
|
keys = lib.mkOption {
|
|
type = lib.types.str;
|
|
example = "SUPER + Return";
|
|
description = "Sets the key chord for this desktop keybind.";
|
|
};
|
|
|
|
command = lib.mkOption {
|
|
type = lib.types.str;
|
|
example = "ghostty";
|
|
description = "Command executed by this keybind.";
|
|
};
|
|
};
|
|
};
|
|
}
|