speakersafetyd: drop User=speakersafetyd line

The NixOS module, living in nix-community/nixos-apple-silicon, doesn't
set up this user, and it's ok for now to just keep running as root.

Long-term, speakersafetyd should support running via DynamicUser=yes,
see the discussion in https://github.com/AsahiLinux/speakersafetyd/pull/26.
This commit is contained in:
Florian Klink 2025-06-29 16:44:22 +03:00
parent dc3fc25456
commit 49f6d0edbe

View File

@ -34,6 +34,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
postPatch = ''
substituteInPlace speakersafetyd.service \
--replace-fail "User=speakersafetyd" \
"" \
--replace-fail "/usr" \
"$out"