From 8688d47c65e164d8f83adbc2ff4654a93010d305 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Mon, 28 Aug 2023 18:23:32 +0100 Subject: [PATCH] rotuer: create resolv.conf --- examples/rotuer.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/rotuer.nix b/examples/rotuer.nix index 2edabe9..0ed1e5f 100644 --- a/examples/rotuer.nix +++ b/examples/rotuer.nix @@ -134,6 +134,14 @@ in rec { rm -rf /run/service-state/${name}/ ''; }; + filesystem = + let inherit (pkgs.pseudofile) dir symlink; + in dir { + etc = dir { + "resolv.conf" = symlink "${services.resolvconf}/.outputs/resolv.conf"; + }; + }; + services.defaultroute4 = route { name = "defaultroute4";