mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-08 12:48:50 +03:00
24 lines
386 B
Nix
24 lines
386 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.mobile.hardware.screen;
|
|
in
|
|
{
|
|
options.mobile.hardware.screen = {
|
|
width = mkOption {
|
|
type = types.int;
|
|
description = ''
|
|
Width of the device's display.
|
|
'';
|
|
};
|
|
height = mkOption {
|
|
type = types.int;
|
|
description = ''
|
|
Height of the device's display.
|
|
'';
|
|
};
|
|
};
|
|
}
|