summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/ev-configuration.nix10
1 files changed, 10 insertions, 0 deletions
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 = {