NixOS
NixOS is a Linux distribution with a unique approach to package and configuration management. Built on top of the Nix package manager, it is completely declarative, makes upgrading systems reliable, and has many other advantages.
Most of my infrastructure is on NixOS.
Links
nix-community/impermanence: Modules to help you handle persistent state on systems with ephemeral root storage [maintainer=@talyz] nixos
impermanence
provides modules to setup your system with ephemeral root storage 🙃
TODO davedellacosta.com - 2019-03-29-why-nixos-is-hard-and-how-to-fix nixpkgs nixos
TODO https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html (Secure, Declarative Key Management with NixOps, Pass, and nix-plugins) nixos
TODO gitignore for Nix – Hercules Labs blog nixpkgs
TODO ociTools in NixOS
TODO Use podman within a nix-shell nixos podman containers
TODO Dejà vu - Updating NixOS local VMs nixos
TODO Dejà vu - Direnv with nix run nixos
TODO tazjin/nix-1p: A (more or less) one page introduction to Nix, the language. nixpkgs nixos
TODO Running Unpatched Binaries on NixOS - BAM Weblog
Properties
:CREATED:
TODO How I Start: Nix - Christine Dodrill
Super guide to nix in a project with niv 💓
TODO Nixery
nixery.dev/shell/git/htop
TODO NixOS on a Raspberry Pi: creating a custom SD image with OpenSSH out of the box | Roberto Frenna nixos
TODO Nix(OS) Thoughts
To-dos
TODO Why using NixOS ?
TODO Why using Nix on other system ?
Which benefits I see (over Debian, Fedora and Archlinux as an example)
TODO Writing a module
An example could be programs.podman
while upstream-ing it 👼
TODO Writing a derivation/package
TODO The nix-shell
case
Let’s dig into nix-shell
(nix run
)
- usage
- simple example (make package available)
- complex example (create a package, run commands, drops a shell)
- automate
nix-shell
withdirenv
(in and out of emacs 🎉)
Additionally, look into shell.nix
vs default.nix
vs …
TODO Experiment with mkShell
TODO nix-shell
shellhook tips & tricks
TODO Developing with Nix
TODO nixos-container
usage
Properties
:CREATED:
I want to use that ! on the okinawa, carthage mainly.