Compare commits

..

1 commit

Author SHA1 Message Date
1bd2d1643f
chore: add dbus-broker 2025-02-20 23:01:26 +01:00

View file

@ -137,6 +137,9 @@ pkgs.writeShellApplication {
cp ${self.packages.${system}.dbus-broker.out}/usr/bin/* usr/bin
cp ${self.packages.${system}.dbus-broker.out}/lib/systemd/system/* usr/lib/systemd/system
cp -Pr ${pkgs.dbus.out}/share/* usr/share/
find usr/share/ -type d -exec chmod 755 {} \;
sed -i 's#/nix/store.*/share#/usr/share#' usr/share/xml/dbus-1/*
sed -i 's#/nix/store.*/libexec#/usr/bin#' usr/share/dbus-1/system.conf
# enable dbus
ln -sf ../dbus-broker.service usr/lib/systemd/system/basic.target.wants/dbus.service