mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 04:04:16 +02:00
Defaults: firefox.disableAv1 on, Jellyfin hardware decoding on when nix-flatpak installs it
This commit is contained in:
1 parent
4320a69b89
commit
1135f8c51f
4 files changed
+47
-26
No files matched your search
+13
-6
@@ -32,12 +32,19 @@ let
|
||||
override));
|
||||
in {
|
||||
options.steamFrame.jellyfin.hardwareDecoding = {
|
||||
enable = lib.mkEnableOption ''
|
||||
hardware video decoding (the Frame's V4L2 decoder) in the Jellyfin
|
||||
Desktop Flatpak: device access for the sandbox (devices=all) and an
|
||||
LD_PRELOAD shim that makes mpv try hwdec's value below. Without
|
||||
nix-flatpak, home-manager owns the app's Flatpak override file. Takes
|
||||
effect at the next start of Jellyfin'';
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = lib.any (p: (if builtins.isString p then p else p.appId or null) == app)
|
||||
(config.services.flatpak.packages or [ ]);
|
||||
defaultText = lib.literalMD "`true` if nix-flatpak installs `org.jellyfin.JellyfinDesktop` (`services.flatpak.packages`), else `false`";
|
||||
description = ''
|
||||
Hardware video decoding (the Frame's V4L2 decoder) in the Jellyfin
|
||||
Desktop Flatpak: device access for the sandbox (devices=all) and an
|
||||
LD_PRELOAD shim that makes mpv try hwdec's value below. Without
|
||||
nix-flatpak, home-manager owns the app's Flatpak override file. Takes
|
||||
effect at the next start of Jellyfin.
|
||||
'';
|
||||
};
|
||||
hwdec = lib.mkOption {
|
||||
type = lib.types.strMatching "[^[:space:]]+";
|
||||
default = "v4l2m2m-copy,auto-copy";
|
||||
|
||||
Reference in new issue
Block a user