12 lines
224 B
Nix
12 lines
224 B
Nix
|
{ lib, config, pkgs, host ? null, format ? "unknown", ... }:
|
||
|
|
||
|
let
|
||
|
inherit (lib) types;
|
||
|
inherit (lib.metacfg) mkOpt;
|
||
|
in
|
||
|
{
|
||
|
options.metacfg.host = {
|
||
|
name = mkOpt (types.nullOr types.str) host "The host name.";
|
||
|
};
|
||
|
}
|