mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 11:36:07 +01:00
networking: set resolv.conf in networking module
This commit is contained in:
parent
cfcb4acf16
commit
92b2897b7c
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue