nixos-config/nixos/components/network/wireguard.nix
2024-04-06 10:34:54 +02:00

16 lines
229 B
Nix

{ lib, config, ... }:
with lib;
{
options.wireguard = {
wg0 = {
#ipv4 = mkOption { type = types.str; };
subnet = mkOption {
type = types.str;
default = "10.100.0.1/24";
};
};
};
}