joint ips & ports open through lambda
This commit is contained in:
@@ -40,21 +40,6 @@ in
|
||||
default = "::1";
|
||||
description = "The localhost ipv6 address.";
|
||||
};
|
||||
wgVpsIp = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "10.77.0.1";
|
||||
description = "The ip address of my router.";
|
||||
};
|
||||
wgServerIp = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "10.77.0.2";
|
||||
description = "The ip address of my router.";
|
||||
};
|
||||
routerIp = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "192.168.100.1";
|
||||
description = "The ip address of my router.";
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "servidos.lat";
|
||||
@@ -63,9 +48,13 @@ in
|
||||
ips = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
default = {
|
||||
router = "192.168.100.1";
|
||||
server = "192.168.100.15";
|
||||
miniserver = "192.168.1.100";
|
||||
workstation = "192.168.100.18";
|
||||
vps = "51.222.141.104";
|
||||
wg-vps = "10.77.0.1";
|
||||
wg-server = "10.77.0.2";
|
||||
};
|
||||
description = "Set of IP's for all my computers.";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user