flake-parts VS npt

Compare flake-parts vs npt and see what are their differences.

flake-parts

❄️ Simplify Nix Flakes with the module system (by hercules-ci)

npt

Nix Package Tool. A (humble) successor to linux's apt, which makes life easier when using nix as a package manager. (by woile)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
flake-parts npt
5 4
586 24
9.0% -
7.5 4.4
14 days ago 12 months ago
Nix Rust
MIT License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

flake-parts

Posts with mentions or reviews of flake-parts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-15.
  • Nix is a better Docker image builder than Docker's image builder
    21 projects | news.ycombinator.com | 15 Mar 2024
    There are attempts like

    https://flake.parts/

    or

    https://github.com/nix-community/flakelight

    Their aim is to create an ecosystem of reusable Nix libraries. But it is tiny.

  • Nix noob question
    2 projects | /r/Nix | 6 Jul 2023
    You can also just install flakes doing nix profile install . I wrote a tool to make it a bit easier, npt but it's completely optional. Once you install the packages with nix profile. Then in your repos you can use a flake with a devShell and run nix develop. Check https://flake.parts to write your flakes.
  • I'm getting on the hype train. What do you recommend to beginner?
    4 projects | /r/NixOS | 25 Jun 2023
    Definitely use flakes from the get-go. It's much more sane. Nix's documentation can be unorganized, but read through it when you can. Modules and other projects tend to have their own documentation as well, like Home Manager and flake-parts
  • Why you don't need flake-utils
    4 projects | /r/NixOS | 21 May 2023
    That's not a typo, there OP is referring to https://github.com/hercules-ci/flake-parts

npt

Posts with mentions or reviews of npt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.
  • Nix noob question
    2 projects | /r/Nix | 6 Jul 2023
    You can also just install flakes doing nix profile install . I wrote a tool to make it a bit easier, npt but it's completely optional. Once you install the packages with nix profile. Then in your repos you can use a flake with a devShell and run nix develop. Check https://flake.parts to write your flakes.
  • flox – Harness the Power of Nix
    7 projects | /r/NixOS | 7 Feb 2023
    I've been working in something similar https://github.com/woile/npt but it's in much earlier stages.
  • Nix journey part 2: replacing apt and brew
    1 project | /r/Nix | 10 Jan 2023
    Me too! That's why I wrote the small wrapper on nix to install imperatively, the npt, which gets the job done, though an official alternative would be better. I understand nix side, but it's hard to break old habits, and not only that, it would be ideal if I can install nix at my parents, and let them use a simple tool with nix underneath. This means for me, focusing only on nix.
  • Dotfiles Management
    23 projects | news.ycombinator.com | 8 Jan 2023
    I've just (literally a few hours ago) started a tool trying to follow those principles.

    https://github.com/woile/npt

    I still don't know if it's worth, I have to experiment a bit more with it

What are some alternatives?

When comparing flake-parts and npt you can also consider the following projects:

nix-beam-flakes - Nix-based BEAM toolchain management

filetailor - Copy and modify plain text files between devices without templates

dev-templates - Dev environments for numerous languages based on Nix flakes [maintainer=@lucperkins]

dot-git - Managing your dotfiles the Git Way™

treefmt-nix - treefmt nix configuration

configs - Dot-files among other configs

nvfetcher - Generate nix sources expr for the latest version of packages

dotfiles - dotfiles + debian setup

haumea - Filesystem-based module system for Nix [maintainer=@figsoda]

capacitor

nixt - Simple unit-testing for Nix [maintainer=@Lord-Valen]

dotfiles - A modern Zsh/tmux, Vim and Homebrew centric setup for macOS and Linux