mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
network-manager: Rename dispatcher service
Rename NetworkManager-dispatcher.service to dbus-org.freedesktop.nm-dispatcher.service so it is found by systemd (NixOS doesn't handle the Alias directive in the unit file)
This commit is contained in:
parent
966f244292
commit
6d247f81b4
@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# FIXME: Workaround until NixOS' dbus+systemd supports at_console policy
|
||||
substituteInPlace $out/etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf --replace 'at_console="true"' 'group="networkmanager"'
|
||||
|
||||
# As NixOS doesn't seem to handle systemd Aliases, we just rename the dispatcher service file
|
||||
mv $out/etc/systemd/system/NetworkManager-dispatcher.service $out/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user