Nixfiles/extra_info.nix
2022-02-06 21:00:43 +01:00

27 lines
547 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.nullOr types.str;
description = "Sway keyboard identifier";
default = null;
};
touchpad = mkOption {
type = types.nullOr types.str;
description = "Sway touchpad identifier";
default = null;
};
};
};
}