summaryrefslogtreecommitdiff
path: root/nixos/ev-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/ev-configuration.nix')
-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 = {