liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4fd1b5f08b4fa8e880fb432acab8caeb9ceaa105
parent 106a429b3d325a8fc99827e6c44275e7ee118115
Author: Daniel Barlow <dan@telent.net>
Date:   Wed, 13 Sep 2023 18:01:50 +0100

er, "input" != output"

Diffstat:
Mmodules/network/route.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/network/route.nix b/modules/network/route.nix @@ -7,7 +7,7 @@ { target, via, interface ? null, metric }: let inherit (liminix.services) oneshot; - with_dev = if interface != null then "dev $(input ${interface} ifname)" else ""; + with_dev = if interface != null then "dev $(output ${interface} ifname)" else ""; in oneshot { name = "route-${target}-${builtins.substring 0 12 (builtins.hashString "sha256" "${via}-${if interface!=null then interface.name else ""}")}"; up = ''