{ config, pkgs, ... }:
{
  services.flatpak = {
    enableModule = true;
    # Enable flathub and flathub beta by default, other package-specific remotes should be added in their package.nix file
    remotes = {
      "flathub" = "https://flathub.org/repo/flathub.flatpakrepo";
      "flathub-beta" = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
    };
  };
}