diff --git a/modules/core/network.nix b/modules/core/network.nix index 28966e0..acd9f3e 100644 --- a/modules/core/network.nix +++ b/modules/core/network.nix @@ -15,8 +15,8 @@ in }; type = mkOption { - type = types.enum [ "lan" "wan" "tailscale" ]; - description = "The type of interface (lan, wan, or vpn/tailscale)."; + type = types.enum [ "lan" "wan" "vpn" ]; + description = "The type of interface (lan, wan, or vpn)."; }; net = mkOption { @@ -50,10 +50,10 @@ in config = { # Create lists of interfaces by type for easy access elsewhere - pepe.core.network.interfacesByType = { + cfg.interfacesByType = { lan = lib.filterAttrs (_: iface: iface.type == "lan") cfg.interfaces; wan = lib.filterAttrs (_: iface: iface.type == "wan") cfg.interfaces; - vpn = lib.filterAttrs (_: iface: iface.type == "tailscale") cfg.interfaces; + vpn = lib.filterAttrs (_: iface: iface.type == "vpn") cfg.interfaces; }; }; }