hn.today

Power of Nix but it's YAML (macOS and Linux)

namios.dev22 points34 comments
Screenshot of Power of Nix but it's YAML (macOS and Linux)

Nami is a declarative package manager and setup tool for Linux and macOS, written in Rust and independent of Nix itself. It installs ready-built packages from nixpkgs, keeping their libraries separate from the host distribution, and lets users define applications, versions, dotfiles, environment variables, and desktop settings in a single YAML file. That file can be tracked in Git to reproduce a setup across computers. Nami records changes so installs, removals, and upgrades can be undone without downloading packages again. A graphical app complements its command-line tools.

Project-specific YAML files can pin development tools, define tasks, and configure services, so collaborators get a consistent environment. Nami can also bundle an application into a single executable intended to run across Linux distributions, manage services and secrets, import existing Nix or Ubuntu setups, and sync configurations through a user-owned Git repository. Its comparisons report faster package searches and setup operations, and a smaller install than Nix in tests using the same package cache. Installation supports x86-64 and ARM Linux and macOS 14 or newer; the Mac offering is described as a preview. The installer can include the graphical app or provide a command-line-only setup.

Read on namios.dev34 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.