2023-11-22 15:33:16 -05:00
|
|
|
{lib, ...}: {
|
2023-10-28 18:20:09 -04:00
|
|
|
options.services.device-vars = with lib; {
|
2023-10-18 13:50:00 -04:00
|
|
|
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;
|
2023-10-18 13:50:00 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
configDir = mkOption {
|
|
|
|
description = ''
|
2023-10-28 18:20:09 -04:00
|
|
|
The path to where most of the devices' configs are in the .nix folder
|
2023-10-18 13:50:00 -04:00
|
|
|
'';
|
|
|
|
type = types.nullOr types.str;
|
|
|
|
};
|
|
|
|
|
2023-11-25 19:24:33 -05:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2023-10-18 13:50:00 -04:00
|
|
|
fontSize = mkOption {
|
|
|
|
type = types.nullOr types.float;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|