diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-10-14 12:54:39 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-10-14 12:54:39 +0200 |
| commit | 41efa2ab074e43021fea33ce03c36f60b24cffa9 (patch) | |
| tree | d038c11644d59fba2263498de482b391d51fbc83 /hosts/vidhar/network/default.nix | |
| parent | b8d12e353470c927053991cad3e306c65efa52c3 (diff) | |
| download | nixos-41efa2ab074e43021fea33ce03c36f60b24cffa9.tar nixos-41efa2ab074e43021fea33ce03c36f60b24cffa9.tar.gz nixos-41efa2ab074e43021fea33ce03c36f60b24cffa9.tar.bz2 nixos-41efa2ab074e43021fea33ce03c36f60b24cffa9.tar.xz nixos-41efa2ab074e43021fea33ce03c36f60b24cffa9.zip | |
...
Diffstat (limited to 'hosts/vidhar/network/default.nix')
| -rw-r--r-- | hosts/vidhar/network/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ | |||
| 3 | with lib; | 3 | with lib; |
| 4 | 4 | ||
| 5 | { | 5 | { |
| 6 | imports = [ ./gpon.nix ./bifrost ./dhcp ]; | 6 | imports = [ ./pppoe.nix ./bifrost ./dhcp ]; |
| 7 | 7 | ||
| 8 | config = { | 8 | config = { |
| 9 | networking = { | 9 | networking = { |
| @@ -61,7 +61,9 @@ with lib; | |||
| 61 | firewall.enable = false; | 61 | firewall.enable = false; |
| 62 | nftables = { | 62 | nftables = { |
| 63 | enable = true; | 63 | enable = true; |
| 64 | rulesetFile = ./ruleset.nft; | 64 | rulesetFile = pkgs.replaceVars ./ruleset.nft { |
| 65 | inherit (config.networking) pppInterface; | ||
| 66 | }; | ||
| 65 | }; | 67 | }; |
| 66 | 68 | ||
| 67 | resolvconf = { | 69 | resolvconf = { |
