Fix jellyfin media player

wayland issues
This commit is contained in:
GHOSCHT 2024-12-20 17:54:57 +01:00
parent fd9cfd4d0f
commit 53c8eb919d
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 6 additions and 11 deletions

View file

@ -13,14 +13,11 @@
home.packages = with pkgs;
[
jellyfin-media-player # watch shows & movies from jellyfin with hardware decoding
# feishin-appimage # self-packaged feishin while electron build fails
signal-desktop # secure messenger
webcord-vencord # more "privacy friendly" discord client
anki
calibre
rofi-audio-switcher # Script to switch default audio sinks/sources
mpv # Video player
]
++ (with pkgs.unstable; [feishin]);

View file

@ -1,19 +1,17 @@
{inputs, ...}: {
imports = [inputs.flatpaks.homeManagerModules.declarative-flatpak];
{ inputs, ... }: {
imports = [ inputs.flatpaks.homeManagerModules.declarative-flatpak ];
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [
"flathub:app/md.obsidian.Obsidian//stable"
"flathub:app/com.github.iwalton3.jellyfin-media-player//stable"
"flathub:app/com.github.tchx84.Flatseal//stable"
];
overrides = {
global = {
filesystems = [
"~/.local/share/icons"
];
environment = {
"MOZ_ENABLE_WAYLAND" = 1;
};
};
"md.obsidian.Obsidian" = {
sockets = [
@ -22,9 +20,9 @@
];
};
"com.github.iwalton3.jellyfin-media-player" = {
environment = {
QT_XCB_GL_INTEGRATION = "xcb_egl";
};
sockets = [
"!wayland"
];
};
};
};