diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 08:03:50 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 08:53:04 +0900 |
| commit | 87781c765844409226804157546753b84ef3c6b4 (patch) | |
| tree | 4fa7bdbe890979badada6c36183a2ff25b7b85a8 /nixos.nix | |
| parent | 0c38fb7b6a17bed9392a4cf46fc752bc2de8eb18 (diff) | |
treewide: include PipeWire op and enforce PulseAudio check
This fully replaces PulseAudio with PipeWire and enforces the PulseAudio check and error message. The pipewire-pulse daemon is handled in the NixOS module.
Closes #26.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
| -rw-r--r-- | nixos.nix | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -196,6 +196,15 @@ in } ] ) + ++ optional (app.enablements.pipewire && app.pulse) { + type = "daemon"; + dst = if app.mapRealUid then "/run/user/${toString config.users.users.${username}.uid}/pulse/native" else "/run/user/65534/pulse/native"; + path = cfg.shell; + args = [ + "-lc" + "pipewire-pulse" + ]; + } ++ [ { type = "bind"; |
