From be4fd746088e6b45cb56dfed8538a3c4c4d512e9 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Wed, 22 May 2024 22:10:06 +0800 Subject: [PATCH] feat(koumakyou): add kodi --- spec/koumakyou/jovian.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/spec/koumakyou/jovian.nix b/spec/koumakyou/jovian.nix index 500f11ab..2a20be30 100644 --- a/spec/koumakyou/jovian.nix +++ b/spec/koumakyou/jovian.nix @@ -1,4 +1,4 @@ -{ jovian, ... }: { +{ pkgs, jovian, ... }: { imports = [ jovian.nixosModules.jovian ]; @@ -18,6 +18,7 @@ users.home.persistApp.directories = [ ".steam" ".local/share/Steam" ".config/gamescope" + ".kodi" ]; users.users.app.extraGroups = [ "networkmanager" ]; @@ -29,6 +30,17 @@ kscreenlockerrc.Daemon.Autolock = false; }; }; + + home-manager.users.app.home.packages = with pkgs; [ + (pkgs.kodi-wayland.passthru.withPackages (kodiPkgs: with kodiPkgs; [ + joystick # keymap steam-controller + #controller-topology-project + libretro libretro-2048 + libretro-fuse libretro-genplus libretro-mgba + libretro-nestopia libretro-snes9x + jellycon + ])) + ]; } // { #users.users.decky.uid = 514; #users.groups.decky.gid = 514;