nixos-configs/common/device-vars.nix

38 lines
870 B
Nix
Raw Normal View History

2023-11-22 15:33:16 -05:00
{lib, ...}: {
options.services.device-vars = with lib; {
username = mkOption {
description = ''
Username that was defined at the initial setup process
'';
2023-11-22 15:33:16 -05:00
type = types.nullOr types.str;
};
configDir = mkOption {
description = ''
The path to where most of the devices' configs are in the .nix folder
'';
type = types.nullOr types.str;
};
mainMonitor = mkOption {
description = ''
The name of the main monitor used for Hyprland and Regreet
'';
default = "null";
type = types.nullOr types.str;
};
greetdDupe = mkOption {
description = ''
If we should duplicate regreet on all monitors
'';
default = true;
type = types.nullOr types.bool;
};
fontSize = mkOption {
type = types.nullOr types.float;
};
};
}