mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 11:03:37 +03:00
596a7891e4
The last option will be cleaned up last.
31 lines
708 B
Nix
31 lines
708 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.mobile.device = {
|
|
name = mkOption {
|
|
type = types.str;
|
|
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 = {
|
|
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.";
|
|
};
|
|
};
|
|
};
|
|
}
|