[Init]
This commit is contained in:
27
hosts/_/cfg.nix
Executable file
27
hosts/_/cfg.nix
Executable file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user