mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Fix dns in nspawn containers
This commit is contained in:
parent
dd8d7a8b6e
commit
a56ea088a5
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ in
|
|||
inherit domain;
|
||||
useHostResolvConf = false;
|
||||
interfaces."eth0".useDHCP = true;
|
||||
nameservers = [
|
||||
"8.8.8.8"
|
||||
"1.1.1.1"
|
||||
];
|
||||
};
|
||||
services.resolved.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue