nixos/krops : some improvements

master
Ingolf Wagner 2018-08-15 15:38:52 +02:00
parent d13cfe71a1
commit 6fe56d37b5
1 changed files with 42 additions and 4 deletions

View File

@ -1,7 +1,12 @@
---
title: "Krops"
date: 2018-08-15T15:06:26+02:00
draft: true
draft: false
tags:
- krebs
- NixOS
- nixOps
- password-store
---
# Krops = Krebs OPs an alternative to NixOPs
@ -12,10 +17,43 @@ draft: true
[NixOps](https://nixos.org/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](https://nixos.org/nixops/) in the fields,
have a look at
[this excelent article](https://blog.wearewizards.io/how-to-use-nixops-in-a-team).
## Krops vs NixOPs feature-crunch
# Krops vs NixOps feature-crunch
### Krops
## Krops
### Pro
* very lightweight, it is just a lib
* precise versioning of [NixPkgs](https://github.com/NixOS/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](https://www.passwordstore.org/) 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.
### NixOPs