From 1f2e67ff842512db48146263c52755a7a5a6cb2e Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 21 Dec 2024 21:21:25 +0100 Subject: ev: add kodi --- nixos/ev-configuration.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/nixos/ev-configuration.nix b/nixos/ev-configuration.nix index 9d53a1f..ca32412 100644 --- a/nixos/ev-configuration.nix +++ b/nixos/ev-configuration.nix @@ -52,7 +52,21 @@ }; }; + users.extraUsers.kodi.isNormalUser = true; + services = { + cage = + let + kodi-package = pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs; [ + joystick + ]); + in + { + enable = true; + user = "kodi"; + program = "${kodi-package}/bin/kodi-standalone"; + }; + zigbee2mqtt = { enable = true; settings = { -- cgit v1.2.3