NixOS Tutorial - Flakes! Unlocking the Full Potential of NixOS

  Рет қаралды 2,804

Why Does Nothing Work

Why Does Nothing Work

Күн бұрын

Пікірлер: 16
@sebastiankutter3630
@sebastiankutter3630 Ай бұрын
Great video as always. I have 2 wishes: 1. a video on organizing the configuration for multiple machines (which don't actually use the same configuration but different ones) 2. a video on nixos-anywhere, where you could use flakes to build one or maybe even multiple hosts from one central system (admin-workstation -> server1..n).
@WhyDoesNothingWork
@WhyDoesNothingWork Ай бұрын
1. I dont know if i'll get to making a video on that, but my method is i have a gitrepo for my nix configs and each system gets a folder with its hostname, or somefolders for groups when i use the same flake on many machines. 2. I havent used nixos-anywhere much other than just for quick testing my prefered method is to generate custom images and then deploy off those using something like terraform, i may make a video on this in the future i have a lot of videos in my queue and I'm way behind since summer is short in northern canada and i've been busy enjoying it with family
@kalthun8318
@kalthun8318 4 ай бұрын
I've been waiting for this video. Another amazing video! Thank you so much again for your hard work!
@DreamsAPI
@DreamsAPI 4 ай бұрын
Thank you sir!
@everywan
@everywan 4 ай бұрын
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 4 ай бұрын
Oh nice I didn't know about that updating flake argument
@DreamsAPI
@DreamsAPI 4 ай бұрын
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 4 ай бұрын
I will make a point of doing that from now on, and thank you for the kind feedback :)
@abbcc555
@abbcc555 2 ай бұрын
This is where otherwise quite ok NixOS falls flat on it's face. The flakes thing is unbelievably cumbersome and convoluted way to do anything. For example it's practically impossible to install a flake from github so that you'd actually get the bin in your path. For majority of things just creating a bash alias to nix run github:whatever is the way to go. Which unfortunately means that it will download and rebuild stuff sometimes and that takes time and if you're without internet access then you basically don't have a computer at all.
@WhyDoesNothingWork
@WhyDoesNothingWork 2 ай бұрын
Flakes are certainly not intuitive, probably why they're still considered experimental. They are by no means necessary, most nix people will say they're a must but unless you're building large deployments i don't really think they're required
@bigupbig2198
@bigupbig2198 4 ай бұрын
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 4 ай бұрын
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
@hubstrangers3450
@hubstrangers3450 4 ай бұрын
Thank you....
@james-cucumber
@james-cucumber 4 ай бұрын
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 4 ай бұрын
good advice, thank you
@wylde780
@wylde780 4 ай бұрын
first
NixOS Tutorial - Networking Essentials
24:15
Why Does Nothing Work
Рет қаралды 2,1 М.
You Should Use Flakes Right Away in NixOS!
26:09
LibrePhoenix
Рет қаралды 67 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 21 МЛН
NixOS tutorial - Nix Packages
18:30
Why Does Nothing Work
Рет қаралды 4,3 М.
Matthew Croughan - Use flake.nix, not Dockerfile - MCH2022
17:25
Matthew Croughan
Рет қаралды 48 М.
Nix flakes explained
7:22
Vimjoyer
Рет қаралды 78 М.
Ultimate Nix Flakes Guide
17:08
Vimjoyer
Рет қаралды 21 М.
NixOS is Mindblowing
12:02
Chris Titus Tech
Рет қаралды 705 М.
Nix-powered Docker Containers
28:10
OpenTechLab
Рет қаралды 26 М.
Anatomy of a NixOS Config - Part 1/2
10:22
EmergentMind
Рет қаралды 8 М.
NixOS Tutorial -  How To Use Channels & Modules
15:10
Why Does Nothing Work
Рет қаралды 1,4 М.
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 11 МЛН