aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2026-01-03 08:34:27 -0800
committerFranck Cuny <franck@fcuny.net>2026-01-03 08:34:27 -0800
commit1880125b7c35f2823a45baa5b4a8e3f8764729b8 (patch)
treec1ca8dabc83cf7c4fc2207ac3208d90ecb78289a /modules
parentfix (diff)
downloadinfra-1880125b7c35f2823a45baa5b4a8e3f8764729b8.tar.gz
simplify wireguard public key settings
Diffstat (limited to 'modules')
-rw-r--r--modules/host-config.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/host-config.nix b/modules/host-config.nix
index 5bb5e94..7aa4ecb 100644
--- a/modules/host-config.nix
+++ b/modules/host-config.nix
@@ -5,5 +5,9 @@
type = lib.types.attrs;
default = { };
};
+ wgPublicKey = lib.mkOption {
+ type = lib.types.nullOr lib.types.str;
+ default = null;
+ };
};
}