tech-ingolf-wagner-de/content/nixos/krops.md

1.6 KiB

title date draft tags
Krops 2018-08-15T15:06:26+02:00 false
krebs
NixOS
nixOps
password-store

Krops = Krebs OPs an alternative to NixOPs

NixOps the official DevOps tool of NixOS is nice, but it has some flaws. Krops is an alternative to NixOps which trying to solve some of theses flaws, with some very simple concepts.

If you're looking for a good document on how to use NixOps in the fields, have a look at this excelent article.

Krops vs NixOps feature-crunch

Krops

Pro

  • very lightweight, it is just a lib
  • precise versioning of NixPkgs you can specify nixpkgs commit/branch/tag you want to roll out on which machine. ( your server runs 18.03 and your desktop unstable )
  • native password-store support.
  • You can rerun you deployment on the machine itself using nixos-rebuild switch.
  • No Database needed.
  • Build/Download happens on the target system.

Con

  • you need to have git installed (yeah not a real con)
  • not as good documented as NixOps.
  • works only on NixOs (?)

NixOps

Pro

  • well documented

Con

  • quite heavy
  • host channel is roled out on servers ( not possible to have different channels on different servers )
  • can't just run nixos-rebuild switch on the target machines.
  • you need a database (for some reason).
  • Build/Download happens on deploying machine, which is bad when you have a bad internet-connection.