{ inputs, ... }: { imports = [ inputs.nix-flatpak.homeManagerModules.nix-flatpak ]; services.flatpak = { uninstallUnmanaged = true; packages = [ "md.obsidian.Obsidian" "com.github.iwalton3.jellyfin-media-player" "com.github.tchx84.Flatseal" ]; overrides = { global = { Context = { sockets = [ "wayland" "!x11" "!fallback-x11" ]; filesystems = [ "~/.local/share/fonts:ro" "~/.icons:ro" "/nix/store:ro" ]; }; }; # "com.github.iwalton3.jellyfin-media-player".Context = { # sockets = [ # "!wayland" # "x11" # ]; # devices = [ # "dri" # GPU acceleration # ]; # }; }; }; }