From d80608970affe5defe030b730cbce9b6ee75fa6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 15 Mar 2023 15:22:57 +0100 Subject: nixos/router: fix invalid radvd interface --- flake.lock | 23 ++++++++++++++++++++--- nixos/routers/router.nix | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index a47bba9..9dfd6b4 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1676283394, @@ -88,16 +104,17 @@ }, "nix": { "inputs": { + "flake-compat": "flake-compat", "lowdown-src": "lowdown-src", "nixpkgs": "nixpkgs", "nixpkgs-regression": "nixpkgs-regression" }, "locked": { - "lastModified": 1678733561, - "narHash": "sha256-bs9TuOd0UmEaizyf5avT1ojob8tvMItqqZ6GZk3OYYE=", + "lastModified": 1678810370, + "narHash": "sha256-BdG980lgTKgk5qFf8oDM0TJgy6yE/69Lkx/bH9/t6Yg=", "owner": "NixOS", "repo": "nix", - "rev": "a387f46967ae9eb97eaeb17ca26fb583283815ce", + "rev": "9ec1a3ae603c008bc135a12bcf746fdb7379e694", "type": "github" }, "original": { diff --git a/nixos/routers/router.nix b/nixos/routers/router.nix index 25d12da..0139c6f 100644 --- a/nixos/routers/router.nix +++ b/nixos/routers/router.nix @@ -155,7 +155,7 @@ in { services.radvd = { enable = true; config = '' - interface ${cnf.wan} { + interface brlan { AdvSendAdvert on; MinRtrAdvInterval 3; MaxRtrAdvInterval 10; -- cgit v1.2.3