From 41efa2ab074e43021fea33ce03c36f60b24cffa9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Oct 2025 12:54:39 +0200 Subject: ... --- hosts/vidhar/network/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'hosts/vidhar/network/default.nix') diff --git a/hosts/vidhar/network/default.nix b/hosts/vidhar/network/default.nix index 92d755f3..5245972d 100644 --- a/hosts/vidhar/network/default.nix +++ b/hosts/vidhar/network/default.nix @@ -3,7 +3,7 @@ with lib; { - imports = [ ./gpon.nix ./bifrost ./dhcp ]; + imports = [ ./pppoe.nix ./bifrost ./dhcp ]; config = { networking = { @@ -61,7 +61,9 @@ with lib; firewall.enable = false; nftables = { enable = true; - rulesetFile = ./ruleset.nft; + rulesetFile = pkgs.replaceVars ./ruleset.nft { + inherit (config.networking) pppInterface; + }; }; resolvconf = { -- cgit v1.2.3