From f260c9025243eda3be001b3394e648aa1dd49b1f Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 21 Dec 2024 23:14:47 +0100 Subject: ev: add pipewire --- nixos/ev-configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/ev-configuration.nix b/nixos/ev-configuration.nix index ca32412..95c1396 100644 --- a/nixos/ev-configuration.nix +++ b/nixos/ev-configuration.nix @@ -55,6 +55,13 @@ users.extraUsers.kodi.isNormalUser = true; services = { + pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; + cage = let kodi-package = pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs; [ @@ -65,6 +72,9 @@ enable = true; user = "kodi"; program = "${kodi-package}/bin/kodi-standalone"; + environment = { + KODI_AE_SINK = "PIPEWIRE"; # TODO: remove with new Kodi which defaults to pipewire + }; }; zigbee2mqtt = { -- cgit v1.2.3