summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-21 21:21:25 +0100
committerMartin Fischer <martin@push-f.com>2024-12-21 22:57:28 +0100
commit1f2e67ff842512db48146263c52755a7a5a6cb2e (patch)
treebb65ca95f113d16b5a036edcb91e10092bd9afb1 /nixos
parent84253f49ae133d3b8b2b9d23f469f6244bf90000 (diff)
ev: add kodi
Diffstat (limited to 'nixos')
-rw-r--r--nixos/ev-configuration.nix14
1 files changed, 14 insertions, 0 deletions
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 = {