The Linux

Explore the Linux and Linux world.

Member-only story

Featured

NixOS

How to Set Up Flatpak in NixOS Easily?

Simple Guide to Enable Flatpak on NixOS.

Rajdeep Singh
The Linux
Published in
4 min readJan 7, 2025

--

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:

  1. 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.
  2. 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.

Steps

--

--

Rajdeep Singh
Rajdeep Singh

Written by Rajdeep Singh

Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh

Responses (2)