This commit is contained in:
2023-04-12 20:32:07 +02:00
committed by soraefir
parent 10fbbc2654
commit 8ca1736220
85 changed files with 5217 additions and 4 deletions

27
hosts/_/cfg.nix Executable file
View 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;
};
};
}