Skip to content

Commit c063a28

Browse files
committed
nixos/tlp: fix NetworkManager RDW dispatcher script location (again)
As a result of #350268, the tlp NetworkManager dispatch script no longer worked. It creates a broken link to `/usr/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm`. This removes the `/usr/` prefix so the script is pointing to the right file.
1 parent beb9682 commit c063a28

File tree

1 file changed

+1
-1
lines changed
  • nixos/modules/services/hardware

1 file changed

+1
-1
lines changed

nixos/modules/services/hardware/tlp.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ in
7070
"tlp.conf".text = (mkTlpConfig cfg.settings) + cfg.extraConfig;
7171
} // lib.optionalAttrs enableRDW {
7272
"NetworkManager/dispatcher.d/99tlp-rdw-nm".source =
73-
"${cfg.package}/usr/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm";
73+
"${cfg.package}/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm";
7474
};
7575

7676
environment.systemPackages = [ cfg.package ];

0 commit comments

Comments
 (0)