mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-13 19:00:19 +01:00
30 lines
645 B
Nix
30 lines
645 B
Nix
{ lib, ... }:
|
|
with lib;
|
|
with builtins;
|
|
{
|
|
options = {
|
|
extraInfo.email = mkOption {
|
|
type = types.str;
|
|
description = "Email address";
|
|
};
|
|
|
|
extraInfo.username = mkOption {
|
|
type = types.str;
|
|
description = "Username to deploy the configuration as";
|
|
};
|
|
|
|
extraInfo.inputs = {
|
|
touchpad = mkOption {
|
|
type = types.nullOr types.str;
|
|
description = "Sway touchpad identifier";
|
|
default = null;
|
|
};
|
|
};
|
|
|
|
extraInfo.outputs = mkOption {
|
|
type = types.attrsOf (types.attrsOf types.str);
|
|
description = "Description of the outputs";
|
|
default = { };
|
|
};
|
|
};
|
|
}
|