rotuer: create resolv.conf

This commit is contained in:
Daniel Barlow 2023-08-28 18:23:32 +01:00
parent e86daf9bbc
commit 8688d47c65

View file

@ -134,6 +134,14 @@ in rec {
rm -rf /run/service-state/${name}/ 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 { services.defaultroute4 = route {
name = "defaultroute4"; name = "defaultroute4";