NixOS Tutorial - Flakes! Unlocking the Full Potential of NixOS

  Рет қаралды 1,092

Why Does Nothing Work

Why Does Nothing Work

Күн бұрын

Learn how to use Flakes in NixOS to create a truly repeatable builds.
Templates used in this video are available here github.com/jason-m/whydoesnot...
If you're in the market for a great vpn or email provider consider proton and help support my content:
Proton VPN: go.getproton.me/SH13u
Proton Mail: go.getproton.me/SH13v
Timecodes:
00:00 - Intro
00:10 - Creating a basic flake.nix
02:50 - Enable flakes in configuration.nix
03:22 - Apply flake
04:05 - what is a flake.lock
06:29 - moving flake to another system
08:09 - Multiple inputs / Overlays
11:42 - Referencing our overlay in configuration.nix
12:32 - Updating inputs individually
13:46 - Review and outro

Пікірлер: 12
@kalthun8318
@kalthun8318 Ай бұрын
I've been waiting for this video. Another amazing video! Thank you so much again for your hard work!
@everywan
@everywan 25 күн бұрын
3:00 - You can also add "experimental-features = nix-command flakes" to your /etc/nix/nix.conf, if you want to start using flake commands right away without rebuilding. 12:32 - You can also `nix flake update` to update individual input(s) by appending them to the end. e.g. `nix flake update nixpkgs-unstable`
@WhyDoesNothingWork
@WhyDoesNothingWork 24 күн бұрын
Oh nice I didn't know about that updating flake argument
@DreamsAPI
@DreamsAPI Ай бұрын
Thank you sir!
@DreamsAPI
@DreamsAPI Ай бұрын
A quick request, can you zoom in on your code? and would love if you can connect officilal flake docs with your doing to make that connection would be be very helpful in understanding. You are doing an awesom job, please continue to make more videos
@WhyDoesNothingWork
@WhyDoesNothingWork Ай бұрын
I will make a point of doing that from now on, and thank you for the kind feedback :)
@hubstrangers3450
@hubstrangers3450 Ай бұрын
Thank you....
@bigupbig2198
@bigupbig2198 27 күн бұрын
Starting a project using a flake? Can be anything from simple to complex that would be cool to see. Ex. Website, CL program
@WhyDoesNothingWork
@WhyDoesNothingWork 27 күн бұрын
That's a good idea, I will try to do a follow up video with more on flakes, right now I have a couple more "fundamentals" videos in the works I want to get finished
@james-cucumber
@james-cucumber Ай бұрын
Just a heads up, the font size in your editor and terminal are a bit small. The “industry standard” seems to be around 15-20 lines visible (source: the 5 most recent videos from creators I like). You can probably get away with 25
@WhyDoesNothingWork
@WhyDoesNothingWork Ай бұрын
good advice, thank you
@wylde780
@wylde780 Ай бұрын
first
NixOS Tutorial - Networking Essentials
24:15
Why Does Nothing Work
Рет қаралды 810
NixOS tutorial - Nix Packages
18:30
Why Does Nothing Work
Рет қаралды 1,7 М.
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 54 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 9 МЛН
NixOS is Mindblowing
12:02
Chris Titus Tech
Рет қаралды 668 М.
You Should Use Flakes Right Away in NixOS!
26:09
LibrePhoenix
Рет қаралды 50 М.
Grazer Linuxtage 2024 -  Fully declarative Homelab on NixOS ❄️
23:53
Grazer Linuxtage
Рет қаралды 1,2 М.
Nix flakes explained
7:22
Vimjoyer
Рет қаралды 62 М.
Should you learn Elixir in 2024?
6:34
Dreams of Code
Рет қаралды 77 М.
Nix Kubernetes and the Pursuit of Reproducibility - Josh Rosso, Reddit
34:39
CNCF [Cloud Native Computing Foundation]
Рет қаралды 2 М.
Matthew Croughan - Use flake.nix, not Dockerfile - MCH2022
17:25
Matthew Croughan
Рет қаралды 43 М.
HOW to REALLY learn NixOS
4:49
IogaMaster
Рет қаралды 37 М.
I Made a Table Soccer Robot, and It's Better Than You Are
14:34
From Scratch
Рет қаралды 340 М.
Using Stable and Unstable At the Same Time on NixOS
12:30
LibrePhoenix
Рет қаралды 5 М.
Жёсткий тест чехла Spigen Classic C1
0:56
Romancev768
Рет қаралды 720 М.
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,6 МЛН
Как работает автопилот на Lixiang L9 Max
0:34
Семен Ефимов
Рет қаралды 15 М.
WWDC 2024 - June 10 | Apple
1:43:37
Apple
Рет қаралды 10 МЛН