17 lines
229 B
Nix
17 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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|