This is a quick and painless tutorial on how to install and configure flakes in NixOS, which is the modern best practice way to manage your NixOS files, and pin your packages to specific commit versions.
NixOS Flakes Wiki: https://wiki.nixos.org/wiki/Flakes
MyNixos Documentation: https://mynixos.com/
Ghostty: https://ghostty.org/docs
Git Repo: https://github.com/tonybanters/nixos-...
Donate: https://ko-fi.com/tonybtw
Discord: / discord
Part 1: • How to Install and Customize NixOS Linux (...
Part 2: • How to Use NixOS Home Manager (2026 Editio...
Music:
• Shingeki no Kyojin - EYE WATER - Soft Pian...
• Succession Main Theme - Piano (Advance dif...
Chapters
0:00 Intro
0:39 Download Iso
1:12 Launch Live CD
1:20 NixOS Install Wizard
3:14 Launch KDE Plasma
4:35 Edit Config File
4:54 Install Vim and Ghostty
5:18 How To Search for Packages
6:25 Rebuild NixOS
7:33 Change Hostname
8:22 Enable Flakes
8:39 Create First Flake
10:50 Generate flake.lock File
12:01 How To Update Packages
12:51 Install More Programs
14:28 How To Version Control
16:31 Create Git Repo
17:00 Clone Repo on New Machine
17:31 Install Flake on New Machine
19:24 Obligatory Neofetch
19:35 Thanking Producer
#linux #nixos #install #flakes