mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 03:10:19 +01:00
29 lines
551 B
Nix
29 lines
551 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; {
|
|
options = {
|
|
extraInfo.email = mkOption {
|
|
type = types.nullOr types.str;
|
|
description = "Email address";
|
|
default = null;
|
|
};
|
|
|
|
extraInfo.inputs = {
|
|
keyboard = mkOption {
|
|
type = types.listOf types.str;
|
|
description = "Sway keyboard identifier";
|
|
default = [];
|
|
};
|
|
touchpad = mkOption {
|
|
type = types.nullOr types.str;
|
|
description = "Sway touchpad identifier";
|
|
default = null;
|
|
};
|
|
};
|
|
};
|
|
}
|