Move your NixOS into a Flake!

preview_player
Показать описание
Schema:

Starter nixos configurations:
Рекомендации по теме
Комментарии
Автор

Here's an interesting detail:
The flake name ("myNixos" in the video) can be omitted if it matches the hostname.

So if you're deploying to a machine named "nixos", naming the flake "nixos" allows you to simply run:

sudo nixos-rebuild switch --flake ~/mysystem

Xorume.
Автор

You popped out from nowhere, your videos are concise and your channel has a based name. Thanks for the content and keep going!

sadwhale
Автор

this channel is underrated as hell, you really deserve a lot more. Your vids are just perfect, they're short, concise, simple and really easy to understand. I love all of this. I was trying to use a dude's flake to copy his hyprland configuration but i couldn't understand wtf was going on, now i took a look at your vids and I'm already on a good spot. Love your vids so much, keep it on

alexxitoprivacy
Автор

I found your account a week ago. Now every system I work in is nix based and I'm using vim. WTF did you do to me? You are exactly the hero we need right now to help save us from those who shall not be named.

JIWallin
Автор

Hey, lots of thanks for these tutorials, they help a lot and due to the mere existance of them I'm installing nix

ocimandiaspepe
Автор

Thank you for this I wanted this after the last video

justaguyalive
Автор

Hey! Thanks for continuing the series!
Do you have your dotfiles published anywhere by chance?

unknown-otter
Автор

For some reason this video is missing from the NixOS playlist. Had me really confused since yesterday.

John-Dennehy
Автор

What are the reasons to do this? What are you gaining from moving it to a flake?

spyro
Автор

Thank you for the video! Do you also plan on doing one about home-manager?

gbember
Автор

After moving the configuration to your home directory, do you go back and delete the original config in /etc/nixos?

patomackcodes
Автор

I know I just commented on another video about getting unfree stuff working. This video actually solved that! Thanks!

Question: What benefits do you gain by moving the entire configuration.nix to a flake?

TheBitHero
Автор

How did you apply dark theme to the nixos wiki page?

Автор

do you have plans to share dottfiles or similar

BraxtonMeyer
Автор

Hi, there will be more videos on Nixos?

imb
Автор

Can I use this to pin a specific application to a version, while being able to keep updating others? Something like Wine for example

gbember
Автор

Where do you recommend storing your Nixos configuration as a flake? It’s my understanding that once it’s a flake you can technically put it anywhere (ie, somewhere where your used as write permissions for convenience) however, it seems like this isn’t super helpful when it comes to setting up new systems where you needs to run your configuration in order to get your user account

aleclowry
Автор

Where i can look your color theme, it's so beautiful...I want the same thing, It's not just a gruvbox, is it?

kirillschirov
Автор

two problems i ran into, maybe this helps somebody:
- If you are using a flake.nix from git-repo you should beforehand use "nix flake init", otherwise it will only opens the man page of nixos if you try to build your flake
- If your flake.nix is in a git-repo, stage your files first ("git add ."), otherwise it won't build either

jakljakl
Автор

So there is no reason to move the configuration into flake now as you just imported it into a flake. Maybe when flakes will be the default standard in 20 years more or less.

BartekBroniszewski