networking: set resolv.conf in networking module

This commit is contained in:
Tobias Happ 2021-05-27 18:29:01 +02:00 committed by Alexander Sosedkin
parent cfcb4acf16
commit 92b2897b7c
2 changed files with 5 additions and 5 deletions

View file

@ -23,11 +23,6 @@ with lib;
substituters = https://cache.nixos.org https://nix-on-droid.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU=
'';
"resolv.conf".text = ''
nameserver 1.1.1.1
nameserver 8.8.8.8
'';
};
};

View file

@ -29,6 +29,11 @@ with lib;
127.0.0.1 localhost
::1 localhost
'';
"resolv.conf".text = ''
nameserver 1.1.1.1
nameserver 8.8.8.8
'';
};
};