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

23 lines
556 B
Nix

{ 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"
];
};
};
};
};
}