I'm not a dev or programmer by any stretch of the imagination... but I dove in face-first into NixOS... it's true you can't break this system... because... IT BROKE ME 🤡
What a perfect timing, recently I watched some videos about nixOS out of curiosity, but I didn't know that it's also available on macOS, what a surprise!
Small thing: You technically don't need the .config/nix/nix.conf, as you can configure these with the nix.settings attrset, e.g. nix.settings = { experimental-features = ["nix-command" "flakes"]; }; This saves me having to set up nix.conf on every machine EDIT: Damn, I knew I should've finished the video before commenting 😅
nix is a true rabbit hole - since I've discover it I change my both machines to it - Mac and arch linux and changing all my config files to it. Chapeau and keep up with the series . Desk setup tour when?
Wonderful video, I really appreciate it. I've been considering learning Nix, but I know that will mean months of time invested, and knowing myself, I won't be able to stop, but I'll keep it in mind. As of now, I setup my mac with a bash scripts that: - installs brew - downloads and gives me access to my github repos (one of them being my dotfiles) - Installs my brew packages (that gets from my dots) - Configures tmux - Configure the macos defaults settings - Configure karabiner - etc As always, great videos, thank you!
I use ansible to install all my apps and configuration with one command, in linux and macOS, but this adds the posibility to control the macOS settings via code... interesting, thanks for the video!
@@tonyc_618 I ditched my entire ansible setup after realising what I can do with nix… and I spent a lot of time fine tuning my ansible setup, so it had to be worth it.
How do you get nix to follow the symlinks? I get hung up on either an error that the path doesn't exist or that the flake isn't a flake. Am I missing something?
I like the idea that nix is getting more popularity, and I really appreciate ppl making videos abt it! Maybe I am wrong, but somehow the video felt a bit "rushed"... I have been using NixOS for the past year and you were jumping through the config a lot, without taking some time to explain it a bit. It was a bit overwhelming, so maybe potential Nix users could get scared off. I am also more used to vimjoyers concept of nix videos, where he tackes things step by step, explaining things.. and not config - desktop - then config back, but different line, desktop, and so on.
To be honest, I was hoping that you would sip through all the options and find the most useful ones to put in the video because i'm a nix-darwin user already. But it's a good video regardless. Thanks man
@@stefanbuchberger2581 ZSA platform for tenting, switches are the Gateron yellow, the keycaps are the ones shipped with the keyboard (blank version of course)
literally all of this has been configurable in an automated way since the first version of Mac OS X. What advantage does all this complexity bring me vs just doing this all in a shell script running commands to change a few .plist keys and using installomator to install third party software?
@@whette_fahrtz mainly the recoverability of your configuration. As someone who tweaks it fairly often and only pushing git changes when I’m ready, the in-between is always in danger. This fixes the problem for me.
hi mate. just found your awesome channel today. Do your nix config files include all the packages and tools you use on your macbook? Would love to have that running on my mac too. 💪
Thank you so much for this awesome tutorial. May I ask what’s the Terminal name you are using? And what shell are you using Bash or Zsh? I’m assuming it’s Zsh (Oh my Zsh). Please correct me if I’m wrong. I appreciate the effort you put into your videos. Like and subscribe!
@@RaffaelN thank you! I’m running zsh on wezterm and using starship as my prompt. There’s a recent video I made covering the entire setup if you like ;)
@devopstoolbox What are your thoughts on home manager? Currently dipping my toes into nix. Does it replace gnu-stow for .config linking or do they work in symbiosis?
@@bulldoser2610 Finally someone asks! If we want to be accurate - a server can be 100% automated through its provisioning, initial deployment, installations, runtime till the end of its life. A Mac can’t, you have to have a human interacting with it at least for the the very start including getting nix and home manager installed. Hence the missing 5%
Its been a year and a half now since I've gone down the rabbit hole... never came back out I'm in the position now where my macbook can go up in smoke and I'll be able to setup a new one in less than an hour... the nix bit only takes 15 minutes... you can guess what the rest of the time is spent on...