colmena VS agenix

Compare colmena vs agenix and see what are their differences.

colmena

A simple, stateless NixOS deployment tool (by zhaofengli)

agenix

age-encrypted secrets for NixOS and Home manager (by ryantm)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
colmena agenix
7 10
967 1,226
- -
7.1 7.5
about 1 month ago 15 days ago
Rust Nix
MIT License Creative Commons Zero v1.0 Universal
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.

colmena

Posts with mentions or reviews of colmena. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-09.
  • NixOS for the Impatient
    5 projects | news.ycombinator.com | 9 Jun 2023
    - rpi nas

    I also wipe my entire rootfs every boot with a zfs snapshot rollback[2] using the impermanence module[3] to keep specific stateful data one one of two datasets with regular snapshots: one is backed up with zfs send, the other is just for cache between reboots.

    It took a little puzzling to get started, because I didn’t know about the impermanence module, so I built my own hacky solution. But I really love this setup. And the way I don’t have cruft to clean.

    Also my backups are so much smaller now :’-)

    [1]: https://colmena.cli.rs/

  • Understanding nixos secrets management/aws configuration
    4 projects | /r/NixOS | 16 Apr 2022
    Answering your broader question (secret management) colmena does that for me outside the Nix store. I also use git-crypt to store secrets in the repo. There are also more Nix-y alternatives like agenix.
  • deploy-rs and colmena should combine efforts
    2 projects | /r/NixOS | 20 Feb 2022
  • Wir schreiben für das c't-Magazin über Linux - fragt uns alles! [Beginn um 17 Uhr]
    11 projects | /r/de_EDV | 26 Jan 2022
  • The best solution for deploying flakes
    5 projects | /r/NixOS | 30 Nov 2021
    There are 4 tools I'm taking into consideration right now, but every suggestion is welcome: 1. deploy-rs - I don't know anything about it, heard about it like a day or two ago 2. NixOps - the official one, I don't know what to think, but I have concerns about Flakes compatibility 3. morph - I understand this as "NixOps, but better", no more toughs. 4. colmena - seems to be pretty straightforward with quite nice docs
  • Toy highly-available Kubernetes cluster on NixOS
    2 projects | /r/NixOS | 4 Nov 2021
    They shouldn't be, Colmena stringifies the keyFile values which is the same approach as NixOps uses to avoid this. Apparently I implemented that part myself, haha.
  • Big brain
    2 projects | /r/NixOS | 26 Apr 2021
    I myself use colmena's apply-local. Anyway, totally relate to the meme. Using the same tool to manage your servers and workstations, and reusing stuff between them is amazing.

agenix

Posts with mentions or reviews of agenix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-01.
  • password manager solution advice
    2 projects | /r/NixOS | 1 Mar 2023
    How about: https://github.com/ryantm/agenix
  • how to store secrets needed at install time
    4 projects | /r/NixOS | 26 Feb 2023
    I've heard good things about and seen sops-nix used on a few really solid configs. Others tend to use Age or Homeage.
  • Ask HN: A Better Docker Compose?
    12 projects | news.ycombinator.com | 2 Jan 2023
    I don't have a write-up, just my code in git. But it's not public. I'm not using anything out of the ordinary - Nix containers, modules, and functions, and the Agenix module with uses a private key to decrypt secrets at start. The Nix language is inherently composable. Here are some links that explain:

    Containers:

    https://nixos.wiki/wiki/NixOS_Containers

    Modules:

    https://nixos.wiki/wiki/NixOS_modules

    Functions:

    https://www.reddit.com/r/NixOS/comments/zzstun/please_help_m...

    Agenix:

    https://github.com/ryantm/agenix

  • ridiculously easy mail server setup with NixOS
    2 projects | /r/NixOS | 5 Oct 2022
    For passwords I am using agenix which is also pretty awesome, an alternative could have been sops.nix.
  • NixOS for Apt/Yum Users: a Gift That Keeps on Giving
    1 project | /r/linux | 29 Sep 2022
    Alternatively, you could simply add the wireless connection files to the Networkmanager dir in /etc using environment.etc. Though keep in mind that any file declared in your config is readable by any user in your system. agenix would be the solution to that.
  • What to do...
    4 projects | /r/linuxquestions | 7 Jun 2022
    One think I saw that I don't recommend is to change your password after installing; that's not very reporoducible, use users.users..hashedPassword or users.users..passwordFile with agenix or sops-nix.
  • Understanding nixos secrets management/aws configuration
    4 projects | /r/NixOS | 16 Apr 2022
    Answering your broader question (secret management) colmena does that for me outside the Nix store. I also use git-crypt to store secrets in the repo. There are also more Nix-y alternatives like agenix.
  • If you’re not using SSH certificates you’re doing SSH wrong
    13 projects | news.ycombinator.com | 24 Mar 2022
    I feel that trying to make SSH keys short-lived is becoming more painful each year because there's an increase of tools that use SSH keys for purposes other than SSH logins. For example, age [1] encrypts files with SSH keys, agenix [2] does secrets management with it, Git can now sign commits with it [3], and even ssh-keygen can now sign arbitrary data [4]. All of these become useless the moment you start using short-lived keys.

    [1]: https://github.com/FiloSottile/age

    [2]: https://github.com/ryantm/agenix

    [3]: https://calebhearth.com/sign-git-with-ssh

    [4]: https://www.man7.org/linux/man-pages/man1/ssh-keygen.1.html

  • homeage: declarative runtime decrypted age secrets for home manager
    3 projects | /r/NixOS | 7 Nov 2021
    I built this because I try to keep as much as possible outside of my system config but all of the secret managers I found were system only. I had no idea how to solve this until I found RaitoBezarius' awesome pull request to agenix where it all clicked. It also exposed me to the inner workings of home-manager which has definitely made me appreciate it more! I kept this separate from agenix because I am interested only in a module rather than a CLI and thus see it as having a different fit.
  • How do you manage your private keys?
    8 projects | /r/NixOS | 21 Apr 2021
    I've been thinking about the same thing. I haven't gotten around to it yet but agenix looked the most promising to me so far

What are some alternatives?

When comparing colmena and agenix you can also consider the following projects:

deploy-rs - A simple multi-profile Nix-flake deploy tool.

sops-nix - Atomic secret provisioning for NixOS based on sops

morph - NixOS deployment tool

nixos-config - My NixOS configurations.

nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.

nixos-config - Mirror of https://code.balsoft.ru/balsoft/nixos-config

nix-index - Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]

homeage - runtime decrypted age secrets for nix home manager

nixos-config

pass-import - A pass extension for importing data from most existing password managers

nixos-configurations

slips - SatoshiLabs Improvement Proposals