I installed Bottles version 66.6 from Flatpak as recommended by developer, but when I try to create a bottle, I always run into Wine mono issue regardless of which runner I choose (caffe, built-in Wine, …).
(ERROR) Failed to install dependency: Wine mono
Have anyone encountered this issue before?
Maybe you havent provided bottles internet access? (Or proper file access?)
Install flatseal if you havent and adjust the permissions.
This is partially my config for bottles (https://codeberg.org/BlastboomStrice/dotfiles/src/commit/3895b01f8d1cc92b3954e63cc9910768188ca2f3/.config/nixos-config/hosts/nixos-base/configuration.nix#L270):
# Flatpak
# Declarative - convergent mode approach
# https://wiki.nixos.org/wiki/Flatpak
services.flatpak = {
enable = true;
# Set the remotes to official flathub repo - Unecessary
remotes = [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
];
# The packages to install
packages = [
"com.github.tchx84.Flatseal"
"com.usebottles.bottles"
"org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/25.08" # bottles # gets pinned
"org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/25.08" # bottles # gets pinned
"org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/25.08" # bottles # gets pinned
"com.obsproject.Studio.Plugin.OBSVkCapture" # bottles # gets pinned
];
};
# XDG portal - useful for including paths
xdg.portal.enable = true; # flatpak already enables this
It sets up flatpak declaratively and installs it declaratively bottles with its dependencies and flatseal. I simply followed https://wiki.nixos.org/wiki/Flatpak.