Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Nix/NixOS
Search
Sibi
January 08, 2022
Technology
120
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
100
Rust
psibi
2
330
OPA for policy enforcement
psibi
0
71
Rust + Credstash
psibi
0
87
ASG and lifecycle hooks
psibi
0
60
Haskell + Azure Pipelines
psibi
0
96
Web programming in Haskell using Yesod
psibi
0
170
Monad
psibi
1
190
Science behind Quantum Computing
psibi
0
300
Other Decks in Technology
See All in Technology
2026 TECHFRESH 畢業分享會 - 開發日常大解密!從領域驅動到企業級上線
line_developers_tw
PRO
0
950
RAG を使わないという選択肢
tatsutaka
1
220
NAB Show 2026 動画技術関連レポート / NAB Show 2026 Report
cyberagentdevelopers
PRO
0
190
手塩にかけりゃいいってもんじゃない
ming_ayami
0
550
就職⽀援サービスにおけるキャリアアドバイザーのシフトスケジューリング
recruitengineers
PRO
1
140
自宅LLMの話
jacopen
1
520
機械学習を「社会実装」するということ 2026年夏版 / Social Implementation of Machine Learning June 2026 Version
moepy_stats
5
2k
2026TECHFRESH畢業分享會 - Lightning Talk - 打造精準高效的 MCP 設計模式與測試實務
line_developers_tw
PRO
0
960
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
360
あなたの知らないPDFのアクセシビリティ
lycorptech_jp
PRO
0
170
AIっぽい文章を採点して人間らしく直すアプリを作ってみた
yama3133
2
150
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
3
2.3k
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
A Tale of Four Properties
chriscoyier
163
24k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
A designer walks into a library…
pauljervisheath
211
24k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
610
Discover your Explorer Soul
emna__ayadi
2
1.1k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
240
Claude Code のすすめ
schroneko
67
230k
The agentic SEO stack - context over prompts
schlessera
0
820
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