dotfiles
nixfiles
Our great sponsors
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.
dotfiles
- My First Impressions of Nix
- Diving straight into flakes with no channels?
- NixOS 21.05 Released
-
What do you use for monitoring?
I used this as reference: https://github.com/Mic92/dotfiles/blob/master/nixos/eva/modules/prometheus/default.nix and this guide: https://christine.website/blog/prometheus-grafana-loki-nixos-2020-11-20 (but with telegraf instead of node-exporter)
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.
What are some alternatives?
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
sops-nix - Atomic secret provisioning for NixOS based on sops
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
NixOS-Guide - NixOS Guide. Learn all about the immutable Nix Operating System and the declarative Nix Expression Language.
nixos - My NixOS Configurations
agenix - age-encrypted secrets for NixOS and Home manager
nix-darwin - nix modules for darwin
.dots - just my .dotfiles
flake-utils-plus - Use Nix flakes without any fluff.
digga - A flake utility library to craft shell-, home-, and hosts- environments.
spack - A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
impermanence - Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz]