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

30 lines
739 B
Nix
Raw Normal View History

{ inputs, ... }: {
imports = [ inputs.flatpaks.homeManagerModules.declarative-flatpak ];
2024-01-26 18:04:50 +01:00
services.flatpak = {
remotes.flathub = "https://flathub.org/repo/flathub.flatpakrepo";
packages = [
"flathub:app/md.obsidian.Obsidian//stable"
2024-11-02 11:30:15 +01:00
"flathub:app/com.github.iwalton3.jellyfin-media-player//stable"
"flathub:app/com.github.tchx84.Flatseal//stable"
2024-01-26 18:04:50 +01:00
];
overrides = {
global = {
filesystems = [
"~/.local/share/icons"
];
};
"md.obsidian.Obsidian" = {
sockets = [
"wayland"
"system-bus"
];
};
2024-11-02 11:30:15 +01:00
"com.github.iwalton3.jellyfin-media-player" = {
sockets = [
"!wayland"
];
2024-11-02 11:30:15 +01:00
};
};
2024-01-26 18:04:50 +01:00
};
}