nix-config/home/features/desktop/common/flatpak.nix

34 lines
859 B
Nix
Raw Normal View History

2024-11-02 11:30:15 +01:00
{inputs, ...}: {
2024-01-26 18:04:50 +01:00
imports = [inputs.flatpaks.homeManagerModules.default];
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [
"flathub:app/us.zoom.Zoom//stable"
"flathub:app/com.discordapp.Discord//stable"
"flathub:app/md.obsidian.Obsidian//stable"
2024-11-02 11:30:15 +01:00
"flathub:app/com.github.iwalton3.jellyfin-media-player//stable"
2024-01-26 18:04:50 +01:00
];
overrides = {
global = {
filesystems = [
"~/.local/share/icons"
];
environment = {
"MOZ_ENABLE_WAYLAND" = 1;
};
};
"md.obsidian.Obsidian" = {
sockets = [
"wayland"
"system-bus"
];
};
2024-11-02 11:30:15 +01:00
"com.github.iwalton3.jellyfin-media-player" = {
environment = {
QT_XCB_GL_INTEGRATION = "xcb_egl";
};
};
};
2024-01-26 18:04:50 +01:00
};
}