diff --git a/spotlight_courses/HS24_NixOS/img/nix-holy-trinity.png b/spotlight_courses/HS24_NixOS/img/nix-holy-trinity.png new file mode 100644 index 0000000000000000000000000000000000000000..d9d0e00f828ede4a45e92c4ab757e2e228becdcc Binary files /dev/null and b/spotlight_courses/HS24_NixOS/img/nix-holy-trinity.png differ diff --git a/spotlight_courses/HS24_NixOS/main.typ b/spotlight_courses/HS24_NixOS/main.typ index b69170d6ab9f694354997f766eeb3e0194094bd4..5ef110e8b9c80b80380538e5ab71443ebf6f3fbe 100644 --- a/spotlight_courses/HS24_NixOS/main.typ +++ b/spotlight_courses/HS24_NixOS/main.typ @@ -1,5 +1,5 @@ #import "@preview/touying:0.5.3": * -#import "/typst_template/thealternative.typ": * +#import "../../typst_template/thealternative.typ": * #import "@preview/diagraph:0.3.0": * #show: thealt-theme.with( @@ -48,9 +48,31 @@ - configuring *`NixOS`* - *toolbox* of commands / websites - some *interesting projects* for NixOS - +== Nix, Nixpkgs, and NixOS +#align(center)[ + #image("img/nix-holy-trinity.png", height: 1fr) +] == What sets NixOS apart - + - Declarative configuration + - Easier to configure your system(s) + - Easier to change, manage and maintain the configuration + - Easier to back up and share with people + - Easy to deploy machines and their configuration + - Out of the box Rollbacks. + - Configuration options for many programs & services + - Free of side effects - Actually uninstalls packages and their dependencies + - Easy to set up VMs + - People can test each other's configurations using `nix run` and `nix shell` by just having access to the source +== What sets Nix apart +- Immutable & reproducible results +- Easy to cross and static compile +- Source-based (you can alter packages without forking anything) +- Single package manager to rule them all! (C, Python, Docker, NodeJS, etc) +- Great for development, easily switches between dev envs with direnv +- Easy to try out packages without installing using `nix shell` or `nix run` +- Easy to set up a binary cache +- Easy to set up remote building + - Distribute your builds accross an unlimited number of machines, without any hassle = A Nix crash course @@ -729,3 +751,7 @@ content = { ] ) + += Sources + +- https://cohost.org/leftpaddotpy/post/798893-rechosting-a-banger