diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-15 12:43:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-15 12:57:06 +0900 |
| commit | 54610aaddcc01e335c34087bc0c3bc1de6d23cf8 (patch) | |
| tree | 4e8ad54c21e4440ddd54a2be4089d7d4807f97ac /nixos.nix | |
| parent | 2e806601693e0262641386ce5430d7e8d84b2a77 (diff) | |
internal/outcome: expose pipewire via pipewire-pulse
This no longer exposes the pipewire socket to the container, and instead mediates access via pipewire-pulse. This makes insecure parts of the protocol inaccessible as explained in the doc comment in hst.
Closes #29.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'nixos.nix')
| -rw-r--r-- | nixos.nix | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -68,7 +68,7 @@ in home-manager = let - privPackages = mapAttrs (username: userid: { + privPackages = mapAttrs (_: userid: { home.packages = foldlAttrs ( acc: id: app: [ @@ -196,15 +196,6 @@ 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" - "exec pipewire-pulse" - ]; - } ++ [ { type = "bind"; |
