nix-config/home/features/desktop/common/flatpak.nix
2024-12-20 17:54:57 +01:00

29 lines
739 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"
"flathub:app/com.github.tchx84.Flatseal//stable"
];
overrides = {
global = {
filesystems = [
"~/.local/share/icons"
];
};
"md.obsidian.Obsidian" = {
sockets = [
"wayland"
"system-bus"
];
};
"com.github.iwalton3.jellyfin-media-player" = {
sockets = [
"!wayland"
];
};
};
};
}