modularizing of vps ips

This commit is contained in:
2025-09-16 14:56:42 -06:00
parent cfca87a703
commit 17b2d98b6c
8 changed files with 29 additions and 16 deletions

View File

@@ -40,7 +40,17 @@ in
default = "::1";
description = "The localhost ipv6 address.";
};
routerip = lib.mkOption {
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.";