diff --git a/spotlight_courses/HS24_NixOS/main.pdf b/spotlight_courses/HS24_NixOS/main.pdf index 30cb587ba99c6a91080dee33df279d064f75af4f..94116d929c9fdaf8b4375b555eb5c39f4a4297f1 100644 Binary files a/spotlight_courses/HS24_NixOS/main.pdf and b/spotlight_courses/HS24_NixOS/main.pdf differ diff --git a/spotlight_courses/HS24_NixOS/main.typ b/spotlight_courses/HS24_NixOS/main.typ index fb159a1ec8e4ad5ea2838d02422405a3247aaf19..b69170d6ab9f694354997f766eeb3e0194094bd4 100644 --- a/spotlight_courses/HS24_NixOS/main.typ +++ b/spotlight_courses/HS24_NixOS/main.typ @@ -39,7 +39,8 @@ // FIXME: this TOC is only for us to have an overvview while writing the talk #outline(depth: 1) -== Today's goals + +== Today's topics - What sets *`NixOS`* apart from other distros? - benefits of *`nix`* and *`NixOS`* @@ -312,8 +313,33 @@ in = NixOS +== What is NixOS? + +#quote(attribution: link("https://nixos.org/manual/nixos/stable/#preface")[NixOS Manual])[ + a Linux distribution based on the purely functional package management system *Nix*, that is composed using modules and packages defined in the *Nixpkgs* project +] + +- *nixpkgs*: NixOS's package repository + + $==>$ gigantic collection of nix code + +== `nixpkgs` - Exampe of package + + +== nixpkgs - `cache.nixos.org` + +- We do not want build every package ourselves... + +- Built packages are cached at #link("https://cache.nixos.org")[`cache.nixos.org`] + +*Reminder*: If nothing changes, a derivation will have the same hash! + +$==>$ If your change ('override') a package, it will automatically be built locally. + + + -= Flakes += Fakes = `nixos-rebuild` - uses `Nix` to manage almost *everything* about your system