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
Samuel Dionne-Riel 596a7891e4 device: Drop most of the messy "device.info" option
The last option will be cleaned up last.
2020-05-24 20:13:07 -04:00

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.";
};
};
};
}