diff --git a/modules/audio-server.nix b/modules/audio-server.nix index d5e88212..7c834d82 100644 --- a/modules/audio-server.nix +++ b/modules/audio-server.nix @@ -171,6 +171,12 @@ in sound.enable = true; + system.userActivationScripts.symlinkPipewireSystemdUnit.text = lib.mkIf config.c3d2.k-ot.enable /* bash */ '' + if [[ $USERNAME == hotpit ]]; then + systemctl --user enable pipewire-pulse + fi + ''; + systemd = { services = { bluetooth-agent = lib.mkIf config.hardware.bluetooth.enable {