Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Nix/NixOS
Search
Sibi
January 08, 2022
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Nix/NixOS
Sibi
January 08, 2022
More Decks by Sibi
See All by Sibi
Just
psibi
0
110
Rust
psibi
2
340
OPA for policy enforcement
psibi
0
91
Rust + Credstash
psibi
0
99
ASG and lifecycle hooks
psibi
0
76
Haskell + Azure Pipelines
psibi
0
99
Web programming in Haskell using Yesod
psibi
0
190
Monad
psibi
1
200
Science behind Quantum Computing
psibi
0
320
Other Decks in Technology
See All in Technology
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
110
登壇はいいぞ! 〜Kaigi on Railsに登壇して起きた3つの変化〜
occhi
0
110
[dbts2026]数十PBの超巨大データ×AI活用を支えるSnowflakeの実力〜大規模環境におけるアーキテクチャと運用のリアル〜
y_matsubara
0
110
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
200
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
1
160
E2Eってつらくないですか?E2Eの管理コストを下げる手段とその実践
akaboshinit
6
3k
Kiro Crew 入門 (手を離しても進む仕事) | 目指せ Kiro マスター 11
inariku
PRO
3
460
`go get`したらELFが降ってきた件
taiyow
0
180
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
800
cdkd (CDK Direct)
gotok365
4
250
AIに任せられるFlutterコードベースを作る 〜仕様をコードで表し、ハーネスで守る〜
myohei
1
640
eBPF 簡介 2026 版
shunghsiyu
0
190
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
sira's awesome portfolio website redesign presentation
elsirapls
0
490
Designing for humans not robots
tammielis
254
26k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
550
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
We Are The Robots
honzajavorek
0
440
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
370
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
A Soul's Torment
seathinner
8
3.9k
Transcript
NIX/NIXOS ILUGC Sibi Prabakaran Jan 8, 2022
None
AGENDA My experience with Nix/NixOS Introduction Why Nix
MY EXPERIENCE Tried NixOS around 5 years ago Initially used
nixpkgs in Ubuntu For around ~1.5 years Using NixOS for ~ 1 year Maintainer of various packages
NIX/NIXPKGS/NIXOS Nix: Pure, lazy functional language. Not a general purpose
language! Used for package description, composition Nixpkgs: Collection of packages. NixOS: Linux + nixpkgs System configuration also managed via Nix
WHY NIX/NIXOS Reproducibility bit identical Multiple versions of a software
Atomic upgrades and rollbacks Declarative
BASIC WORKFLOW configuration.nix home manager writing script Usage is pretty
similar to other distros.
NIX LANGUAGE Lazy, Functional and Pure Functions, Sets, Lists etc.
Reference: https://nixos.wiki/wiki/Nix_Expression_Language
NIX EXPRESSION Code written in Nix language ❯ nix-instantiate --eval
--expr "2 + 2" 4 ❯ cat example.nix 2 + 2 ❯ nix-instantiate --eval example.nix 4
REAL WORLD NIX CODE Package: systemd service: amber cnx
NIX DERIVATIONS Recipe to build the end product. Reproducible &
Deterministic ❯ fd -e drv nix /nix/store | head -n 5 /nix/store/ix9j7fmxpfp7c0b2rn95wyy5y1803mya-nixos- manual.desktop.drv /nix/store/2a6ylyfsxb8knnana40fbnmk8ka7q1na-etc- nixos.conf.drv /nix/store/6r57mn57p9rgijr0lsfihkdkk2djkv86-nixos- manpages.drv /nix/store/ppsdnzviyi9q2xqak9qk0w16hpj30frj-nixos.conf.drv /nix/store/bp7flklzjxhm966b0d0pxi85dg4zbqpa-nix-prefetch- cvs.drv
DERVIATION.. ❯ nix show-derivation derivation
COMMUNITY 80,000 packages Easy to add package as compared to
other distributions Images available for cloud providers nix-community organization
DISADVANTAGES No secure boot. Nix specific issues! Learning curve Debugging
experience Size of user community Things are still changing: Flakes!
QUESTIONS