nixfiles
krops
nixfiles | krops | |
---|---|---|
8 | 2 | |
149 | 129 | |
- | 3.9% | |
9.0 | 3.5 | |
27 days ago | 4 months ago | |
Nix | Nix | |
- | Do What The F*ck You Want To Public License |
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.
nixfiles
- My First Impressions of Nix
-
How can I calculate the "age of money" with (h)ledger?
If you're familiar with Python, I have a script which does that (along with a few other metrics): https://github.com/barrucadu/nixfiles/blob/1c99414156a7081ade210a9f43a3941b44a4ef0b/hosts/nyarlathotep/jobs/hledger-export-to-promscale.py
-
Issues getting docker containers with databases set up
I run a lot of services through docker containers, here's how I structure things: https://github.com/barrucadu/nixfiles/blob/master/services/concourse.nix
-
Who's here runs NixOS with opt in state?
I do. I have a fairly small chunk of configuration to stick all persistent state I care about in a different ZFS dataset (mounted to /persist) and do the rollback.
-
Do you all just git init inside your /etc/nixos directory?
It's what I do.
-
Erase your darlings: immutable infrastructure for mutable systems (erasing root on every boot)
You can see the relevant bit of my config on github.
-
How do you manage your private keys?
My solution - which is not great, mind you - is to have my NixOS config defined across two git repos: one is public, the other is private and has all the secrets.
-
Erasing root on every boot
All my nixos config is on github.
krops
-
Ask HN: Who operates at scale without containers?
For others interested in deploying like this, this approach sounds exactly like what krops does. Krops is similar to Morph, except it does the derivative building on the remote host.
It is very simple and works great. Deploying from macOS to NixOS is possible as well.
https://github.com/krebs/krops
https://tech.ingolf-wagner.de/nixos/krops/
-
Do you all just git init inside your /etc/nixos directory?
I just use krops with flakes. It provides all I need and is a lot simpler than NixOps while being stateless
What are some alternatives?
sops-nix - Atomic secret provisioning for NixOS based on sops
.dots - just my .dotfiles
NixOS-Guide - NixOS Guide. Learn all about the immutable Nix Operating System and the declarative Nix Expression Language.
multi-env-deploy - Complete example of deploying complex web apps to AWS using Terraform, Ansible, and Packer
agenix - age-encrypted secrets for NixOS and Home manager
distroless - 🥑 Language focused docker images, minus the operating system.
riff-raff - The Guardian's deployment platform
digga - A flake utility library to craft shell-, home-, and hosts- environments.
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]
schematic