mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
resolved
This commit is contained in:
parent
78f70a153d
commit
adda26f600
2 changed files with 13 additions and 2 deletions
|
|
@ -56,7 +56,18 @@
|
|||
};
|
||||
|
||||
networking.defaultGateway = "192.168.0.1";
|
||||
networking.nameservers = [ "1.1.1.1" ];
|
||||
|
||||
# Explicitly configure NetworkManager to use systemd-resolved for DNS handling.
|
||||
networking.networkmanager.dns = "systemd-resolved";
|
||||
services.resolved = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
DNS=8.8.8.8
|
||||
FallbackDNS=8.8.4.4 1.1.1.1
|
||||
Cache=yes
|
||||
DNSStubListener=yes
|
||||
'';
|
||||
};
|
||||
|
||||
networking.interfaces.enp41s0.useDHCP = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@
|
|||
qemu = {
|
||||
package = pkgs.qemu_full;
|
||||
runAsRoot = true;
|
||||
ovmf.enable = true;
|
||||
# ovmf.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue