Softwr

Developer Tools · head to head

Amphetamine vs Nix

Amphetamine logo

Amphetamine

Developer Tools

Free Mac menu bar app that keeps your Mac awake on a timer or by trigger rules

From
Free
Free plan
Yes
Nix logo

Nix

Developer Tools

Purely functional package manager and the NixOS distribution built on it, for byte-reproducible environments

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Amphetamine lists timed sessions; only Nix lists content-addressed store.
  • Where Amphetamine falls short: the app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected.

How do Amphetamine and Nix differ?

Amphetamine and Nix differ on pricing model and platforms. Only the attributes on which Amphetamine and Nix actually diverge.

Attributes where Amphetamine and Nix differ
AttributeAmphetamineNix
Pricing modelFreeOpen source, no licence fee
PlatformsmacOSLinux, macOS, Windows

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Amphetamine, founded for Amphetamine.

Which features does each one have?

They share no listed features; 7 appear only for Amphetamine and 8 only for Nix. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amphetamine

  • Timed sessions
  • Triggers
  • Display and lock options
  • Closed-display mode
  • Drive Alive
  • AppleScript support
  • Custom icons and sounds

Only in Nix

  • Content-addressed store
  • Declarative system configuration
  • Atomic upgrades and rollback
  • nix develop shells
  • Flakes
  • Nixpkgs
  • Binary caches
  • Home Manager

What is each one used for?

Amphetamine is most often brought in for A long download, render or backup that must finish with nobody at the Mac. The jobs each tool is most often brought in to do.

Amphetamine

  • A long download, render or backup that must finish with nobody at the Macnot Nix
  • A laptop used with the lid closed and an external displaynot Nix
  • Keeping a remote database or VPN session alive during working hoursnot Nix
  • Preventing sleep only while a specific app, Wi-Fi network or USB device is presentnot Nix

Nix

  • A team that wants every developer and CI runner to use byte-identical toolchains without shipping a container for local worknot Amphetamine
  • Reproducing a research computation or a build years later from a pinned commit rather than a written recipenot Amphetamine
  • Managing a fleet of Linux servers declaratively with atomic rollback if a deployment breaks a servicenot Amphetamine
  • Building minimal container images from precise dependency closures instead of a base image plus a package managernot Amphetamine

Where do Amphetamine and Nix fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amphetamine

  • Closed-display mode on Apple Silicon laptops needs a helper script, and avoiding the authentication prompt needs a separate Power Protect download, which is extra setup
  • It is a one-developer project, so the roadmap and support depend on one person and the listing says support cannot be given through the App Store
  • The app trigger can miss background daemons and some processes, so rules based on a headless process may not fire as expected
  • The file-download option asks you to pick a file, which is awkward for browsers that create a placeholder and a partial file
  • Keeping a Mac awake overrides its power settings, so a forgotten session can drain a battery or keep a display on longer than intended

Nix

  • The Nix language is lazy, dynamically typed and poorly documented, and its error messages frequently point at the wrong expression, so debugging a failing build is a skill that takes months rather than days to acquire
  • Flakes are the way essentially everyone uses Nix in 2026 and are still formally an experimental feature behind a flag, meaning tutorials, official documentation and real practice disagree with each other constantly
  • Anything that expects a conventional Linux filesystem layout breaks: prebuilt binaries, language package managers that download their own toolchains, and proprietary vendor installers all need patching or an FHS-compatible wrapper
  • Project governance has been publicly fractious, producing the Lix fork and the separately funded Determinate Systems distribution, so a new adopter now has to choose which Nix before they can start
  • The /nix/store grows without bound until you garbage collect, and on a developer laptop with several pinned nixpkgs revisions it routinely reaches tens of gigabytes

How much do Amphetamine and Nix cost?

Amphetamine is free to use; Nix is free to use. Plan by plan below, from each vendor's own pricing page.

Amphetamine

Free
  • AmphetamineFree
    • Listed as free on the Mac App Store
    • No tiers or in-app plans shown on the listing

Nix

Free
  • Nix and NixOSFree
    • LGPL-2.1 licensed, no commercial tier
    • Public binary cache at cache.nixos.org
    • Community support via forum, Matrix and GitHub

Which should you pick?

Choose Amphetamine if

  • You need timed sessions.
  • You want to start without paying.
  • You work on macOS.
  • You also want triggers.

Choose Nix if

  • You need content-addressed store.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want declarative system configuration.

Questions people ask

Is Amphetamine or Nix better?
It depends on the job. Amphetamine fits a long download, render or backup that must finish with nobody at the Mac; Nix fits a team that wants every developer and CI runner to use byte-identical toolchains without shipping a container for local work. Amphetamine starts at Free and Nix at Free.
Which is cheaper, Amphetamine or Nix?
Amphetamine starts at Free and Nix at Free.
Does Amphetamine or Nix run on more platforms?
Amphetamine runs on macOS. Nix runs on Linux, macOS, Windows.
Can I use Amphetamine for free?
Both have a free tier, so you can try either at no cost before committing.
What is Amphetamine best used for?
Amphetamine is most often used for a long download, render or backup that must finish with nobody at the mac, a laptop used with the lid closed and an external display, keeping a remote database or vpn session alive during working hours, preventing sleep only while a specific app, wi-fi network or usb device is present. Of those, a long download, render or backup that must finish with nobody at the mac and a laptop used with the lid closed and an external display are not what Nix is typically brought in for.
What can Amphetamine do that Nix cannot?
Amphetamine covers Timed sessions, Triggers, Display and lock options, Closed-display mode. Nix covers Content-addressed store, Declarative system configuration, Atomic upgrades and rollback, nix develop shells.

Answered from the vendors’ own pages

Amphetamine: Is Amphetamine free?

Yes. The Mac App Store lists it as free.

Nix: Do I have to run NixOS to use Nix?

No. The package manager runs fine on any Linux distribution and on macOS, and most teams start there with development shells rather than converting their servers.

Amphetamine: Does it work with the lid closed?

Yes, through Closed-Display Mode. On Apple Silicon laptops this uses a script, and Power Protect is an optional separate install that avoids the authentication prompt.

Nix: Is Nix a replacement for Docker?

It solves an adjacent problem. Nix reproduces the contents of an environment exactly; Docker distributes an image. Many teams use Nix to build the image.

Amphetamine: Which macOS does it need?

The listing says macOS 10.11 El Capitan or higher, with some features needing newer versions.

Nix: Are flakes safe to use in production?

They are used in production widely and are stable in practice, but they remain officially experimental, which means the interface can still change and documentation is split.

Amphetamine: Can it start automatically?

Yes. Triggers can start a session based on apps, displays, devices, network, battery or power state.

Nix: What is Lix and should I care?

Lix is a community fork of the Nix implementation created after governance disputes. It is largely compatible; the practical impact is that you must decide which implementation your team standardises on.

Share

Related pages

Other head to heads