rotuer: create resolv.conf
This commit is contained in:
parent
e86daf9bbc
commit
8688d47c65
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue