Compare commits
1 Commits
908183f53e
...
kodi-hdr
| Author | SHA1 | Date | |
|---|---|---|---|
| f9541ba01b |
@@ -38,7 +38,18 @@ in
|
|||||||
(mkIf cfg.wayland {
|
(mkIf cfg.wayland {
|
||||||
cage = mkIf cfg.wayland {
|
cage = mkIf cfg.wayland {
|
||||||
user = "kodi";
|
user = "kodi";
|
||||||
program = "${kodiPkg}/bin/kodi-standalone";
|
#program = "gamescope -f --hdr-enabled ${kodiPkg}/bin/kodi-standalone";
|
||||||
|
program =
|
||||||
|
let
|
||||||
|
kodiGamescope = pkgs.writeShellApplication {
|
||||||
|
name = "kodi-gamescope";
|
||||||
|
runtimeInputs = [ kodiPkg pkgs.gamescope ];
|
||||||
|
text = ''
|
||||||
|
${pkgs.gamescope}/bin/gamescope --hdr-enabled -f -- ${kodiPkg}/bin/kodi-standalone
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
in
|
||||||
|
"${lib.getExe kodiGamescope}";
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
xserver = {
|
xserver = {
|
||||||
|
|||||||
Reference in New Issue
Block a user