Skip to content
A

Agenix

age-encrypted secrets for NixOS and Home manager

by ryantmFree

#1320in Utilities
0In stores

Description

agenix keeps secrets encrypted in a Nix configuration. It encrypts each secret with the SSH public keys of the machines or users allowed to…

Highlights

  • Secrets encrypted with SSH public keys
  • age-encrypted files that can live in Git
  • NixOS and Home Manager modules
  • CLI to create and rekey secrets
  • Threat model documented

Ratings & Reviews

No ratings yet

Be the first to rate Agenix.

People also visit

G

git-secret

A bash-tool to store your private data inside a git repository

Utilities
Launch
N

Nix Mineral

Conveniently and reasonably harden NixOS

Utilities
Launch
A

Agebox

Age based repository file encryption gitops tool

Developer Tools
Launch
U

using-sops

Secrets or key setup in a repo

AI Skills
Get
H

Hasp

HASP is a local-first broker for managed secrets in agent workflows

Utilities
Launch
S

scrt

A command-line secret manager for developers, sysadmins, and devops

Utilities
Launch

Agenix FAQ

What is agenix?

A tool for storing age-encrypted secrets in a NixOS or Home Manager configuration, decrypted at activation time.

Is it free?

Yes. It is open source and hosted on GitHub.

How are secrets encrypted?

With the SSH public keys of the machines or users listed in an agenix-rules.nix file.

How do I create a secret?

Run nix run github:ryantm/agenix -- -e example.age in your secrets directory, after listing the allowed keys in agenix-rules.nix.

How do I install it?

The docs cover flakes, niv, nix-channel and fetchTarball, with a Home Manager option.

Where can I read about its limits?

The project has a threat model and warnings page in its documentation.

What are the best Agenix alternatives?

Popular alternatives to Agenix include git-secret, Nix Mineral and Hasp. See all Agenix alternatives

Developer Stuff

Badges