27 lines
409 B
Nix
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;
|
||
|
};
|
||
|
};
|
||
|
}
|