nixos-configs/common/device-vars.nix

22 lines
488 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;
};
fontSize = mkOption {
type = types.nullOr types.float;
};
};
}