diff options
author | Nick Cao <nickcao@nichi.co> | 2023-12-08 10:58:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 10:58:25 -0500 |
commit | d79786694d13eca87830da88b1cf7f3044c7fbc1 (patch) | |
tree | 34718120638eae5ab13111af546dc28a44d38dff /nixos | |
parent | db8268bdafa28824da981f6bdc5d18f7ffae4930 (diff) | |
parent | d173469d3b24c0b68473d2d8d6182b8d41f7d30e (diff) |
Merge pull request #270355 from sinanmohd/iwd-resolvconf
nixos/iwd: fix broken dhcp dns configuration
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/iwd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix index b74f5d0bec9b..d46c1a69a619 100644 --- a/nixos/modules/services/networking/iwd.nix +++ b/nixos/modules/services/networking/iwd.nix @@ -64,8 +64,10 @@ in }; systemd.services.iwd = { + path = [ config.networking.resolvconf.package ]; wantedBy = [ "multi-user.target" ]; restartTriggers = [ configFile ]; + serviceConfig.ReadWritePaths = "-/etc/resolv.conf"; }; }; |