liminix

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

commit 8688d47c65e164d8f83adbc2ff4654a93010d305
parent e86daf9bbc5cd28ac514cdffc6c3fbd0a7ea8a05
Author: Daniel Barlow <dan@telent.net>
Date:   Mon, 28 Aug 2023 18:23:32 +0100

rotuer: create resolv.conf

Diffstat:
Mexamples/rotuer.nix | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git 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";