Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
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 Basics
- Installing NixOS from an ISO image, including manual and automated partitioning strategies.
- The Nix language: working with sets, functions, and imports.
- Understanding the structure of configuration.nix and its 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.
- Garbage collection and store optimization techniques.
Reproducible Environments
- Using nix-shell and shell.nix for ad-hoc development tasks.
- Leveraging Nix Flakes for lockfile-based reproducibility.
- Utilizing devenv and devshell to streamline team onboarding.
- Integrating Direnv for automatic environment switching.
Remote Deployment
- Managing fleets with NixOps and Colmena.
- Configuring remote builds and binary caches.
- Managing secrets using agenix and sops-nix.
- Testing deployments via NixOS VMs 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 methods.
- Cross-compilation and ARM build processes.
- Generating custom ISO and netboot images.
- Implementing Hydra continuous integration for Nix packages.
Requirements
- Advanced Linux system administration skills and shell scripting proficiency.
- A solid understanding of functional programming concepts.
- Familiarity with Git and version-controlled configuration management.
Audience
- Infrastructure engineers looking for reproducible, declarative system solutions.
- DevOps teams aiming to replace tools like Ansible, Puppet, or Chef with Nix.
- Organizations that require bit-for-bit reproducible deployment processes.
21 Hours
Testimonials (3)
experienced trainer
Monika Biskupska - Osrodek Przetwarzania Informacji - Panstwowy Instytut Badawczy
Course - Kubernetes Security Fundamentals (LFS460)
trainer has hands-on knowledge
- Osrodek Przetwarzania Informacji - Panstwowy Instytut Badawczy
Course - Kubernetes for App Developers (LFD459)
Labs and hands on