Merge pull request #270355 from sinanmohd/iwd-resolvconf

nixos/iwd: fix broken dhcp dns configuration
This commit is contained in:
Nick Cao 2023-12-08 10:58:25 -05:00 committed by GitHub
commit d79786694d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,8 +64,10 @@ in
};
systemd.services.iwd = {
path = [ config.networking.resolvconf.package ];
wantedBy = [ "multi-user.target" ];
restartTriggers = [ configFile ];
serviceConfig.ReadWritePaths = "-/etc/resolv.conf";
};
};