Flatpak: Difference between revisions

Malix (talk | contribs)
m Declaratively: nix syntax
Malix (talk | contribs)
Line 43: Line 43:


===== [https://github.com/in-a-dil-emma/declarative-flatpak declarative-flatpak] =====
===== [https://github.com/in-a-dil-emma/declarative-flatpak declarative-flatpak] =====
A '''congruent (truly declarative and reproducible) approach''' where Flatpak packages are integrated into the Nix reproducible model, meaning they become part of Nix's generations. Changes are '''atomic''', ensuring that either the new files are installed successfully or nothing happens. This module uses a temporary installation and then overwrites the current one. This module does '''not yet cache Flatpak refs in the Nix store''', so it uses '''more network bandwidth''' but is more '''efficient with disk storage'''. Note that it '''supports non-flake installs'''
A congruent approach to Flatpak management where changes are designed to be atomic, ensuring that either they succeed or nothing happens. This module uses a temporary installation and then overwrites the current one. Note that it supports non-flake installs
 
<small>For more details, see [https://github.com/in-a-dil-emma/declarative-flatpak/issues/44 declarative-flatpak/issues/44]</small>


==== Imperatively ====
==== Imperatively ====