summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-21 23:14:47 +0100
committerMartin Fischer <martin@push-f.com>2024-12-21 23:24:29 +0100
commitf260c9025243eda3be001b3394e648aa1dd49b1f (patch)
tree79fbac41a4624e91bc97e5055ac61e4fe461a363
parent1f2e67ff842512db48146263c52755a7a5a6cb2e (diff)
ev: add pipewireha
-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 = {