1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
mobile-nixos/modules/mobile-device.nix

31 lines
708 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
options.mobile.device = {
name = mkOption {
type = types.str;
2020-05-24 00:28:36 +03:00
description = "The device's codename. Must match the device folder.";
};
info.kernel = mkOption {
# FIXME: drop this option
# This is only kept *currently* for the commit to still build.
# This will be dealt with in the coming commits.
internal = true;
};
identity = {
2020-05-24 00:28:36 +03:00
name = mkOption {
type = types.str;
description = "The device's name as advertised by the manufacturer.";
};
manufacturer = mkOption {
type = types.str;
description = "The device's manufacturer name.";
};
};
};
}