Flatpak: Difference between revisions
Featuring declarative installation methods, general fixes and enhancement, featuring headers |
→Declaratively: feature a comparison |
||
| Line 35: | Line 35: | ||
==== Declaratively ==== | ==== Declaratively ==== | ||
To install flatpak packages declaratively, you can use [https://github.com/gmodena/nix-flatpak nix-flatpak] ( | To install flatpak packages declaratively, you can either use [https://github.com/gmodena/nix-flatpak nix-flatpak] or [https://github.com/in-a-dil-emma/declarative-flatpak declarative-flatpak] | ||
===== [https://github.com/gmodena/nix-flatpak nix-flatpak] ===== | |||
A convergent approach in which Flatpak packages manage their own lifecycle independently of Nix generations (Nix rollbacks wouldn't revert Flatpak packages to their previous state) | |||
As Flatpak packages are not cached in Nix store, it uses more network bandwidth but is more efficient with disk storage | |||
===== [https://github.com/in-a-dil-emma/declarative-flatpak declarative-flatpak] ===== | |||
A congruent (truly declarative and reproducible) approach in which Flatpak packages are integrated into the Nix reproducible model, meaning they become part of Nix's generations (Nix rollbacks would revert Flatpak packages to their previous state) | |||
As Flatpak packages are cached in Nix store, it is more efficient with disk storage but uses less network bandwidth | |||
==== Imperatively ==== | ==== Imperatively ==== | ||