32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
# Flatpak Repositories/Remotes
|
|
|
|
## Flatpak Repository List
|
|
All flatpak remotes to be available on the system are listed in Hiera in the list `flatpak::repos::default`.
|
|
|
|
You can add other than the default `flathub` remote by providing a configuration as shown in the next chapter and then referencing that here:
|
|
```
|
|
rpm_repos::default:
|
|
- 'cpt'
|
|
```
|
|
|
|
|
|
## Flatpak Repository Definition
|
|
|
|
An individual flatpak remote is configured in Hiera within the namespace `flatpak::repo::*`, like following example:
|
|
|
|
```
|
|
flatpak::repo::flathub: |
|
|
[Flatpak Repo]
|
|
Title=Flathub
|
|
Url=https://flathub.psi.ch/repo/
|
|
Homepage=https://flathub.org/
|
|
Comment=Central repository of Flatpak applications (PSI CachingMirror)
|
|
Description=Central repository of Flatpak applications (PSI CachingMirror)
|
|
Icon=https://flathub.psi.ch/repo/logo.svg
|
|
GPGKey=mQINBFl...
|
|
```
|
|
|
|
The content is a single string in the [`.flatpakrepo` format](https://docs.flatpak.org/en/latest/flatpak-command-reference.html#flatpakrepo).
|
|
|
|
Usually the Flatpak repository will provide such a file.
|