Member-only story
Featured
NixOS
How to Set Up Flatpak in NixOS Easily?
Simple Guide to Enable Flatpak on NixOS.
Flatpak is a utility/tool that helps with software deployment and package management for Linux.
It provides a sandbox environment for running applications/software in isolation from the rest of the system.
As a NixOS user, you think Nixpkgs is the only way to install packages in your nixos. But there is another method you can use to install the new package, which is flatpak.
Why use flatpak to install the package?
I’m not recommending or compulsory that you choose flatpak to install a new package in your nixOS.
These are two reasons why you should consider flatpak as an option:
- NixOS follows a six-month release cycle to update the NixOS. Due to this issue, you can wait for nixos latest version to use the newest version of the application.
- Sometimes, you can not find your package in the Nixpkgs repository; you can check in the flathub repository, and your package may be available there.
In this tutorial, we learn how to install the package using flatpak from flathub in your nixos system.