nixconfig/hosts/_/cfg.nix
2023-05-21 14:25:16 +02:00

27 lines
409 B
Nix

{
lib,
config,
...
}:
with lib;
let
cfg = config.hostcfg;
in {
options.hostcfg = {
hostname = mkOption {
type = types.str;
};
wlp_if = mkOption {
type = types.str;
};
wg_ip4 = mkOption {
type = types.str;
};
wg_ip6 = mkOption {
type = types.str;
};
wg_pk = mkOption {
type = types.str;
};
};
}