Flatpak: Difference between revisions
→Declaratively: feat behavior precision |
m →Declaratively: nix syntax |
||
| Line 40: | Line 40: | ||
===== [https://github.com/gmodena/nix-flatpak nix-flatpak] ===== | ===== [https://github.com/gmodena/nix-flatpak nix-flatpak] ===== | ||
A '''convergent approach''' where Flatpak packages manage their own lifecycle independently of Nix generations. It manages refs in place. Since Flatpak packages are '''not cached in the Nix store''', this approach uses '''more network bandwidth''' but is more '''efficient with disk storage'''. Note that it '''requires flakes''' to function | A '''convergent approach''' where Flatpak packages manage their own lifecycle independently of Nix generations. It manages refs in place. Since Flatpak packages are '''not cached in the Nix store''', this approach uses '''more network bandwidth''' but is more '''efficient with disk storage'''. Note that it '''requires flakes''' to function | ||
===== [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 (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''' | ||
==== Imperatively ==== | ==== Imperatively ==== | ||