docker containers use pihole
This commit is contained in:
@@ -15,6 +15,8 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf (config.sysconfig.docker.pihole.enable && config.sysconfig.docker.enable) {
|
config = lib.mkIf (config.sysconfig.docker.pihole.enable && config.sysconfig.docker.enable) {
|
||||||
|
|
||||||
|
virtualisation.docker.daemon.settings.dns = [ "192.168.101.12" ];
|
||||||
|
|
||||||
environment.etc."resolv.conf" = {
|
environment.etc."resolv.conf" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
text = ''
|
text = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user