This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-29 22:17:48 +02:00
parent 82b8e81e92
commit 7e07ae4bc8
3 changed files with 20 additions and 4 deletions

12
system-modules/kodi.nix Normal file
View File

@@ -0,0 +1,12 @@
{ pkgs, lib, host, ... }:
lib.mkIf (host == "NxACE")
{
services.xserver.desktopManager.kodi = {
enable = true;
};
services.cage = {
user = "kodi";
program = "${pkgs.kodi-wayland}/bin/kodi-standalone";
enable = true;
};
}