Get in Touch

Course Outline

Declarative System Sovereignty

  • The drawbacks of imperative configuration management, including drift and audit failure.
  • Nix store, derivations, and the use of pure functions for system construction.
  • NixOS compared to traditional distributions: immutability and atomic upgrades.

Installation and Basics

  • Installing NixOS from an ISO file 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 man pages.

Package and Service Management

  • Differentiating between system-wide package installation and per-user installation via nix-env.
  • Enabling systemd services declaratively.
  • Implementing custom package overrides and overlays.
  • Garbage collection and store optimization techniques.

Reproducible Environments

  • Utilizing nix-shell and shell.nix for ad-hoc development.
  • Employing Nix Flakes to ensure lockfile-based reproducibility.
  • Leveraging devenv and devshell for streamlined team onboarding.
  • Integrating Direnv for automatic environment switching.

Remote Deployment

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

System Updates and Rollbacks

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

Advanced Topics

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

Requirements

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

Audience

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

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from 3900 € + VAT*

Contact us for an exact quote and to hear our latest promotions

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories