31 lines
779 B
Nix
31 lines
779 B
Nix
{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"
|
|
];
|
|
overrides = {
|
|
global = {
|
|
filesystems = [
|
|
"~/.local/share/icons"
|
|
];
|
|
environment = {
|
|
"MOZ_ENABLE_WAYLAND" = 1;
|
|
};
|
|
};
|
|
"md.obsidian.Obsidian" = {
|
|
sockets = [
|
|
"wayland"
|
|
"system-bus"
|
|
];
|
|
};
|
|
"com.github.iwalton3.jellyfin-media-player" = {
|
|
environment = {
|
|
QT_XCB_GL_INTEGRATION = "xcb_egl";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|