Nixfiles/extra_info.nix

31 lines
645 B
Nix
Raw Normal View History

{ lib, ... }:
2022-05-01 10:32:31 +02:00
with lib;
with builtins;
{
2022-02-06 20:52:31 +01:00
options = {
extraInfo.email = mkOption {
type = types.str;
2022-02-06 20:52:31 +01:00
description = "Email address";
};
extraInfo.username = mkOption {
type = types.str;
description = "Username to deploy the configuration as";
2022-02-06 20:52:31 +01:00
};
extraInfo.inputs = {
touchpad = mkOption {
type = types.nullOr types.str;
description = "Sway touchpad identifier";
default = null;
};
};
2022-08-15 18:54:17 +02:00
extraInfo.outputs = mkOption {
type = types.attrsOf (types.attrsOf types.str);
description = "Description of the outputs";
default = { };
2022-08-15 18:54:17 +02:00
};
2022-02-06 20:52:31 +01:00
};
}