aboutsummaryrefslogtreecommitdiffhomepage
path: root/nixos.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos.nix')
-rw-r--r--nixos.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos.nix b/nixos.nix
index efa659c2..2f238eeb 100644
--- a/nixos.nix
+++ b/nixos.nix
@@ -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";