nixcfg/modules/home/host/default.nix

19 lines
236 B
Nix
Raw Normal View History

{
lib,
config,
pkgs,
host ? null,
format ? "unknown",
...
}:
2024-03-21 15:00:36 +01:00
let
inherit (lib) types;
inherit (lib.metacfg) mkOpt;
in
{
options.metacfg.host = {
name = mkOpt (types.nullOr types.str) host "The host name.";
};
}