From 422efcf258eb49ecd0d4de8e53adae656696ea56 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 8 Dec 2025 02:53:07 +0900 Subject: hst: check for insecure PulseAudio enablement This is currently still a noop, but required for #26. Signed-off-by: Ophestra --- cmd/hpkg/build.nix | 5 +++-- cmd/hpkg/test/test.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'cmd') diff --git a/cmd/hpkg/build.nix b/cmd/hpkg/build.nix index 3733f420..5e2f55ac 100644 --- a/cmd/hpkg/build.nix +++ b/cmd/hpkg/build.nix @@ -45,7 +45,7 @@ allow_wayland ? true, allow_x11 ? false, allow_dbus ? true, - allow_pulse ? true, + allow_audio ? true, gpu ? allow_wayland || allow_x11, }: @@ -175,7 +175,8 @@ let wayland = allow_wayland; x11 = allow_x11; dbus = allow_dbus; - pulse = allow_pulse; + pipewire = allow_audio; + pulse = allow_audio; }; mesa = if gpu then mesaWrappers else null; diff --git a/cmd/hpkg/test/test.py b/cmd/hpkg/test/test.py index 790377cc..ef6a626f 100644 --- a/cmd/hpkg/test/test.py +++ b/cmd/hpkg/test/test.py @@ -90,7 +90,7 @@ wait_for_window("hakurei@machine-foot") machine.send_chars("clear; wayland-info && touch /tmp/success-client\n") machine.wait_for_file("/tmp/hakurei.0/tmpdir/2/success-client") collect_state_ui("app_wayland") -check_state("foot", {"wayland": True, "dbus": True, "pulse": True}) +check_state("foot", {"wayland": True, "dbus": True, "pipewire": True, "pulse": True}) # Verify acl on XDG_RUNTIME_DIR: print(machine.succeed("getfacl --absolute-names --omit-header --numeric /run/user/1000 | grep 10002")) machine.send_chars("exit\n") -- cgit v1.3.1