Get in Touch

Course Outline

Declarative System Sovereignty

  • Why imperative configuration management results in drift and audit failures.
  • Utilizing the Nix store, derivations, and pure functions for system construction.
  • NixOS compared to traditional distributions: immutability and atomic upgrades.

Installation and Fundamentals

  • Installing NixOS from an ISO image using manual and automated partitioning methods.
  • The Nix language: sets, functions, and imports.
  • 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 with nix-env.
  • Declaratively enabling systemd services.
  • Custom package overrides and overlays.
  • Garbage collection and store optimization techniques.

Reproducible Environments

  • Using nix-shell and shell.nix for ad-hoc development tasks.
  • Achieving lockfile-based reproducibility with Nix Flakes.
  • Facilitating team onboarding with devenv and devshell.
  • Automating environment switching through Direnv integration.

Remote Deployment

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

System Updates and Rollbacks

  • Utilizing nixos-rebuild in switch, test, and boot modes.
  • Performing atomic rollbacks to previous system generations.
  • Managing channels and pinning for reproducible updates.
  • Emergency recovery procedures and bootloader configuration.

Advanced Topics

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

Requirements

  • Advanced experience in Linux system administration and shell scripting.
  • A foundational understanding of functional programming concepts.
  • Familiarity with Git and version-controlled configuration workflows.

Audience

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

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories