The Nix Hour is a weekly beginner-oriented improvised QA-style lecture on Nix, hosted by Tweag. Here you can bring your questions and we'll answer them with more context, examples, alternatives, tradeoffs and related topics. These meetings are open for anybody to join, but also recorded and uploaded to the Tweag YouTube channel. For more information check out https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-qa-lecture-by-tweag/22767
Curated by: Tweag by Modus Create (81 videos)
The Nix Hour is a weekly beginner-oriented improvised Q&A-style lecture on Nix, where you can bring your questions and we'll answer them with more context, examples, alternatives, tradeoffs and related topics. Feel free to ask questions using the live chat, or even ask questions directly by joining the meeting: https://meet.jit.si/nix-hour. Alternatively ask questions ahead of time by opening an issue in https://github.com/tweag/nix-hour For more information and updates, check out https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-qa-lecture-by-tweag/22767 00:00 Intro, issues overview 01:49 Looking at nixos-rebuild 02:59 Building with (nixpkgs/nixos) 06:24 Passing NixOS configuration via NIX_PATH/-I 08:11 Using nixos directory from NIX_PATH 09:21 Specifying channel on command line 10:05 Using "nixos" attribute of nixpkgs to build system 12:43 What is "system" attribute 14:53 Fixing minimal configuration.nix 15:41 What is stateVersion 19:13 How flake is built in nixos-rebuild 20:28 Building and deploying on other hosts using nixos-rebuild 21:37 Switching system profile 24:30 Switching the system to new configuration 26:12 "switch-to-configuration" script 30:07 "activate" script 32:16 Atomically changing /etc directory 34:28 Adding custom activation scripts 39:30 When is "/run/current-system" symlink set 44:12 Custom activation scripts ordering 45:31 Signoff