Get in Touch

Course Outline

Declarative System Sovereignty

  • How imperative configuration management leads to drift and audit failure.
  • Utilizing the Nix store, derivations, and pure functions for system building.
  • Comparing NixOS with traditional distros: focusing on immutability and atomic upgrades.

Installation and Basics

  • Installing NixOS from an ISO with manual and automated partitioning.
  • Understanding the Nix language: sets, functions, and imports.
  • The structure of configuration.nix and the module system.
  • Searching for packages and options using nix search and manual pages.

Package and Service Management

  • Installing packages system-wide versus per-user using nix-env.
  • Enabling systemd services declaratively.
  • Creating custom package overrides and overlays.
  • Managing garbage collection and optimizing the store.

Reproducible Environments

  • Using nix-shell and shell.nix for ad-hoc development.
  • Ensuring lockfile-based reproducibility with Nix Flakes.
  • Facilitating team onboarding with devenv and devshell.
  • Integrating Direnv for automatic environment switching.

Remote Deployment

  • Managing fleets with NixOps and Colmena.
  • Configuring remote building and binary caches.
  • Managing secrets with agenix and sops-nix.
  • Testing deployments using NixOS VMs and containers.

System Updates and Rollbacks

  • Using nixos-rebuild in switch, test, and boot modes.
  • Performing atomic rollbacks to previous generations.
  • Managing channels and pinning configurations for reproducible updates.
  • Handling emergency recovery and bootloader configuration.

Advanced Topics

  • Using NixOS containers and lightweight virtualization.
  • Cross-compilation and ARM builds.
  • Generating custom ISOs and netboot images.
  • Implementing Hydra continuous integration for Nix packages.

Requirements

  • Experience with advanced Linux system administration and shell scripting.
  • A fundamental understanding of functional programming concepts.
  • Familiarity with Git and version-controlled configuration workflows.

Target Audience

  • Infrastructure engineers seeking reproducible, declarative systems.
  • DevOps teams aiming to replace tools like Ansible, Puppet, or Chef with Nix.
  • Organizations requiring bit-for-bit reproducible deployments.
 21 Hours

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories