1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 04:51:31 +03:00
mobile-nixos/modules/documentation.nix

18 lines
401 B
Nix
Raw Normal View History

2021-01-10 03:10:29 +03:00
{ config, lib, ... }:
let
inherit (lib) mkOption types;
in
{
options = {
mobile.documentation = {
systemTypeFargment = mkOption {
type = types.path;
description = "Used to choose the generic documentation fragment for the system.";
default = ./system-types + "/${config.mobile.system.type}/device-notes.adoc.erb";
internal = true;
};
};
};
}