nixos-configs/common/device-vars.nix

22 lines
489 B
Nix
Raw Normal View History

{ lib, ... }: {
options.services.device-vars = with lib; {
username = mkOption {
description = ''
Username that was defined at the initial setup process
'';
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;
};
};
}