Тёмный

Nix Darwin Turned My Mac into a Fully Automated Machine 

DevOps Toolbox
Подписаться 27 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@devopstoolbox
@devopstoolbox Месяц назад
Join 2000+ subscribers getting one dev/sec/ops tip every Friday: signup.omerxx.com
@anthonyoleinik6472
@anthonyoleinik6472 Месяц назад
Welcome to the rabbit hole
@devopstoolbox
@devopstoolbox Месяц назад
@@anthonyoleinik6472 😅🥲
@Taddy_Mason
@Taddy_Mason Месяц назад
This rabbit hole is very very deep
@simian3455
@simian3455 Месяц назад
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 🤡
@devopstoolbox
@devopstoolbox Месяц назад
@@simian3455 😆
@simonlauer9379
@simonlauer9379 22 дня назад
what’s that scratchpad like terminal you opened?
@JoshMedeski
@JoshMedeski Месяц назад
My community has been telling me this is the way to go, thanks for the clear introduction to Flakes on macOS!
@devopstoolbox
@devopstoolbox Месяц назад
@@JoshMedeski ❤️
@wojciech-kulik
@wojciech-kulik Месяц назад
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!
@347Online
@347Online Месяц назад
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 😅
@1234minecraft5678
@1234minecraft5678 Месяц назад
I switched to nix a few months ago and i am absolutely lovin it. Especially stylix and home manager.
@itisciprian
@itisciprian Месяц назад
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?
@devopstoolbox
@devopstoolbox Месяц назад
@@itisciprian soon! In the queue 😅
@linkarzu
@linkarzu Месяц назад
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!
@devopstoolbox
@devopstoolbox Месяц назад
@@linkarzu I get your point. But it doesn’t have to be months. Surly not if you’re just using Darwin! But yeah, it’s hard to get out 😅
@linkarzu
@linkarzu Месяц назад
@@devopstoolbox good to know, thank you. neovim owns my time right now, cannot cheat on it with Nix, but I will give it a try some day.
@tonyc_618
@tonyc_618 Месяц назад
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!
@devopstoolbox
@devopstoolbox Месяц назад
@@tonyc_618 ansible is a cool way of doing local config! I’m assuming it takes more work though compared to a system like home manager
@c_kemper
@c_kemper Месяц назад
@@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.
@MatthewMorrissey
@MatthewMorrissey Месяц назад
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?
@arunoruto
@arunoruto Месяц назад
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.
@devopstoolbox
@devopstoolbox Месяц назад
@@arunoruto point taken, thank you!
@Redyf
@Redyf Месяц назад
Nix mentioned lets go
@devopstoolbox
@devopstoolbox Месяц назад
@@Redyf 😉
@binh1298ify
@binh1298ify Месяц назад
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
@devopstoolbox
@devopstoolbox Месяц назад
I wanted to make something for beginners. But you make a good point, maybe I'll make another one exploring the best bits
@zestynotions
@zestynotions Месяц назад
Love your videos btw definitely worth a subscribe !
@devopstoolbox
@devopstoolbox Месяц назад
@@zestynotions thank you!!🙏🏽
@stefanbuchberger2581
@stefanbuchberger2581 Месяц назад
What keyboard stand, switches, keycaps and cables do you use for your moonlander?
@devopstoolbox
@devopstoolbox Месяц назад
@@stefanbuchberger2581 ZSA platform for tenting, switches are the Gateron yellow, the keycaps are the ones shipped with the keyboard (blank version of course)
@whette_fahrtz
@whette_fahrtz 8 дней назад
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?
@devopstoolbox
@devopstoolbox 6 дней назад
@@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.
@mihaelbos
@mihaelbos 19 дней назад
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. 💪
@devopstoolbox
@devopstoolbox 19 дней назад
@@mihaelbos thanks man! It doesn’t include everything yet but I’m slowly moving towards nix
@rajkumarmano
@rajkumarmano Месяц назад
really useful.
@guilhermeprokisch
@guilhermeprokisch 6 дней назад
How did you make the browser transparent?
@RaffaelN
@RaffaelN 13 дней назад
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!
@devopstoolbox
@devopstoolbox 13 дней назад
@@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 ;)
@adjbutler
@adjbutler 15 дней назад
NixOS!!!! lets go!
@comosaycomosah
@comosaycomosah Месяц назад
dang this is really cool!
@gnrsn9714
@gnrsn9714 27 дней назад
@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?
@bikramtuladhar
@bikramtuladhar Месяц назад
which terminal did you used in video? it is very nice
@zestynotions
@zestynotions Месяц назад
hmm if you use nix apps why depend on homebrew in your setup? is something missing from homebrew ?
@devopstoolbox
@devopstoolbox Месяц назад
@@zestynotions 1. People have hard time letting go of their old ways 2. Sometimes brews aren’t published to nix…
@this_minizilla
@this_minizilla Месяц назад
Also spotlight search can't search apps installed by nix.
@devopstoolbox
@devopstoolbox Месяц назад
@@this_minizilla good point
@LiterateGoblin
@LiterateGoblin Месяц назад
nix gang rise up
@devopstoolbox
@devopstoolbox Месяц назад
@@LiterateGoblin 😅
@bulldoser2610
@bulldoser2610 Месяц назад
What is the 5 percent remaining?
@devopstoolbox
@devopstoolbox Месяц назад
@@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%
@dmitrykaa46
@dmitrykaa46 Месяц назад
Nice! Is it also possible to install some cracked software this way as well? 😂
@devopstoolbox
@devopstoolbox Месяц назад
That's for you to find out 😆
@sphyrnidae6749
@sphyrnidae6749 Месяц назад
Someone experience with Sequoia and Nix?
@Danielo515
@Danielo515 Месяц назад
Until the ridiculous and stupid executives at Mac headquarters decide that the required API are no longer supported
@sharukhrahman7925
@sharukhrahman7925 Месяц назад
Hard disk dies before your config dies.. - apple
@RazoBeckett.
@RazoBeckett. Месяц назад
Nix deez what ?
@Jalan-Api
@Jalan-Api Месяц назад
I am the 1000th viewer
@c_kemper
@c_kemper Месяц назад
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...
@devopstoolbox
@devopstoolbox Месяц назад
@@c_kemper 😅
Далее
Is Nix Your New Terminal SUPERPOWER?
15:21
Просмотров 24 тыс.
I ranked EVERY terminal emulator. It was nuts
20:35
Просмотров 76 тыс.
연준 (YEONJUN) ‘GGUM’ Official MV
02:44
Просмотров 8 млн
I'm never using .env files ever again
11:16
Просмотров 39 тыс.
Nix and NeoVim
13:38
Просмотров 140 тыс.
Hidden FREE Mac Apps!
28:14
Просмотров 186 тыс.
Nix Home Manager Has Forever Changed My Dotfiles
10:08
Tmux From Scratch To BEAST MODE
12:44
Просмотров 113 тыс.
Nix - The Best Package Manager
13:04
Просмотров 157 тыс.