Mischa van den Burg
Mischa van den Burg
  • 223
  • 811 002
Neovim in Dev Containers With Nix for Arm & Mac M1, M2, M3
In my previous video about how to use neovim with dev containers, I mentioned that the Brew setup won't work with arm-based linux machines or running dev containers on arm macs.
In this video I will explain how I solved that problem by using the Nix package manager.
FOLLOW ME ON TWITTER / X
🐦 mischa_vdburg
SUBSCRIBE TO MY NEWSLETTER
📰 mischavandenburg.substack.com/
JOIN MY COMMUNITY
👉 mischavandenburg.com/skool
LINKS MENTIONED IN THE VIDEO
nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management
github.com/devcontainers/images/tree/main/src
github.com/mischavandenburg/dotfiles-devpod
PREVIOUS VIDEO
czcams.com/video/9YG6QlzuNwM/video.html
MY UDEMY COURSES
Zettelkasten in Obsidian - www.udemy.com/course/the-zettelkasten-method-in-obsidian/?referralCode=DD8063240FBC9F65E41E
Kubernetes Masterclass for Beginners - www.udemy.com/course/kubernetes-masterclass-for-beginners/?referralCode=A87E1242E226ACAAB041
Advanced Notetaking: Goal Setting in Obsidian - www.udemy.com/course/mastering-goal-setting-with-obsidian/?referralCode=FE0A5482EEB8BBFA5BEE
Obsidian Vault in One Hour - www.udemy.com/course/obsidian-quickstart-full-notetaking-system-in-1-hour/?referralCode=977E8CD27872B757762D
SCREEN RECORDING SOFTWARE
Screen Studio - mischavandenburg.com/screen
MY FAVORITE GEAR
Keyboard HHKB - amzn.to/3uvaL5X
Macbook Pro - amzn.to/4b6z8G6
Airpods Max - amzn.to/3RlaQkv
Shure SM7B - amzn.to/4cfFKmz
RodeCaster Duo - amzn.to/4bZtGWN
Insta360 Camera - amzn.to/4cijIzt
SOCIAL MEDIA
📰 Newsletter - mischavandenburg.substack.com/
🐦 Twitter - mischa_vdburg
0️⃣ GitHub - github.com/mischavandenburg
👨‍💻 Linkedin - www.linkedin.com/in/mischavandenburg
🌍 My website / blog - mischavandenburg.com
zhlédnutí: 1 528

Video

How to Use Neovim with Devcontainers
zhlédnutí 7KPřed 16 hodinami
In this video I will show you how to work with Devcontainers using Neovim. SUBSCRIBE TO MY NEWSLETTER 📰 mischavandenburg.substack.com/ JOIN MY COMMUNITY 👉 mischavandenburg.com/skool DevOps & Kubernetes 💎 Next-level Productivity & Note Taking 🚀 Accelerating your Career & Salary 🤝 Enjoying the journey with new friends YOU WILL GET 💰 ALL Premium Courses: 25h of DevOps, Kubernetes, Productivity, C...
Skool Community Update - June 2024
zhlédnutí 357Před dnem
Want to be part of a 150 DevOps & Productivity Community? Join us! 👉 mischavandenburg.com/skool DevOps & Kubernetes 💎 Next-level Productivity & Note Taking 🚀 Accelerating your Career & Salary 🤝 Enjoying the journey with new friends YOU WILL GET 💰 ALL Premium Courses: 25h of DevOps, Kubernetes, Productivity, Career 💰 24/7 Expert Support: Stop Googling, get real answers 💰 3x Weekly Q&A Calls: Di...
Why You Should Build Your Homelab Now
zhlédnutí 2,7KPřed dnem
Want to be part of a 150 DevOps & Productivity Community? Join us! 👉 mischavandenburg.com/skool DevOps & Kubernetes 💎 Next-level Productivity & Note Taking 🚀 Accelerating your Career & Salary 🤝 Enjoying the journey with new friends MY UDEMY COURSES Kubernetes Masterclass for Beginners - www.udemy.com/course/kubernetes-masterclass-for-beginners/?referralCode=A87E1242E226ACAAB041 Advanced Noteta...
I'm Stuck On MacOs & Windows But That's Okay
zhlédnutí 1,3KPřed 14 dny
I'm Stuck On MacOs & Windows But That's Okay
😤 The Game Has Changed - Azure Verified Modules
zhlédnutí 1,1KPřed 21 dnem
😤 The Game Has Changed - Azure Verified Modules
Updating to Flux 2.3 GA - Kubernetes Homelab
zhlédnutí 513Před měsícem
Updating to Flux 2.3 GA - Kubernetes Homelab
Dealing with Uncertainty as Freelance DevOps Engineer
zhlédnutí 688Před měsícem
Dealing with Uncertainty as Freelance DevOps Engineer
I QUIT my DevOps Job! Going Freelance
zhlédnutí 3KPřed měsícem
I QUIT my DevOps Job! Going Freelance
CKS Study Guide 2024 - PASS your Certified Kubernetes Security Specialist Exam
zhlédnutí 1,7KPřed měsícem
CKS Study Guide 2024 - PASS your Certified Kubernetes Security Specialist Exam
9K Giveaway, upcoming announcement, CKS, Microsoft MVP.
zhlédnutí 1,2KPřed měsícem
9K Giveaway, upcoming announcement, CKS, Microsoft MVP.
Start CODING IN MINUTES with DevContainers
zhlédnutí 2,9KPřed měsícem
Start CODING IN MINUTES with DevContainers
Is Tmux DEAD? Zellij is the new multiplexer written in Rust
zhlédnutí 10KPřed měsícem
Is Tmux DEAD? Zellij is the new multiplexer written in Rust
I don't even own a TV.
zhlédnutí 1,7KPřed 2 měsíci
I don't even own a TV.
Harness the Power of Kubernetes with Pod Disruption Budgets
zhlédnutí 676Před 2 měsíci
Harness the Power of Kubernetes with Pod Disruption Budgets
What is Kubernetes and Why Do You Need It?
zhlédnutí 1,6KPřed 2 měsíci
What is Kubernetes and Why Do You Need It?
Switching to Starship for my Bash Prompt
zhlédnutí 5KPřed 3 měsíci
Switching to Starship for my Bash Prompt
600% GROWTH?! 2024 DevOps & Kubernetes Market Analysis
zhlédnutí 1,6KPřed 3 měsíci
600% GROWTH?! 2024 DevOps & Kubernetes Market Analysis
Kubernetes Fundamentals Course - 1. Introduction - By Mischa van den Burg
zhlédnutí 1,1KPřed 3 měsíci
Kubernetes Fundamentals Course - 1. Introduction - By Mischa van den Burg
Skool Community Update - FIRST 100 MEMBERS FREE!
zhlédnutí 813Před 3 měsíci
Skool Community Update - FIRST 100 MEMBERS FREE!
PARA in Obsidian. Start being productive.
zhlédnutí 8KPřed 3 měsíci
PARA in Obsidian. Start being productive.
7K SUBSCRIBER GIVEAWAY!
zhlédnutí 620Před 3 měsíci
7K SUBSCRIBER GIVEAWAY!
Using this tool is a HORRIBLE idea if you're serious about the CLI & Linux
zhlédnutí 2,3KPřed 3 měsíci
Using this tool is a HORRIBLE idea if you're serious about the CLI & Linux
I launched a Skool community and it's growing fast! - Kubernetes - DevOps
zhlédnutí 885Před 3 měsíci
I launched a Skool community and it's growing fast! - Kubernetes - DevOps
FULL NEOVIM Configuration Walkthrough As A DevOps Engineer On MacOS
zhlédnutí 7KPřed 3 měsíci
FULL NEOVIM Configuration Walkthrough As A DevOps Engineer On MacOS
Tutorial: Autoscaling an Application with KEDA on Azure Kubernetes Service (AKS)
zhlédnutí 1,3KPřed 4 měsíci
Tutorial: Autoscaling an Application with KEDA on Azure Kubernetes Service (AKS)
Ultimate Notetaking: My Neovim Zettelkasten Based on Obsidian - Complete Walkthrough
zhlédnutí 44KPřed 4 měsíci
Ultimate Notetaking: My Neovim Zettelkasten Based on Obsidian - Complete Walkthrough
My Entire Neovim + Tmux Workflow As A DevOps Engineer On MacOS
zhlédnutí 157KPřed 5 měsíci
My Entire Neovim Tmux Workflow As A DevOps Engineer On MacOS
🏠 Homelab - Grafana Dashboards as Code
zhlédnutí 1,8KPřed 5 měsíci
🏠 Homelab - Grafana Dashboards as Code
🏠 Homelab - Adding a new K3S node and splitting Grafana from kube-prometheus-stack
zhlédnutí 505Před 5 měsíci
🏠 Homelab - Adding a new K3S node and splitting Grafana from kube-prometheus-stack

Komentáře

  • @berlinsevmarquina2154
    @berlinsevmarquina2154 Před 9 minutami

    Hi Mischa! I have a few video suggestions for you if you dont mind. 1. How did you go from here (this video) to being the one you are now (Microsoft MVP/CKS)? What life changes did you made and how did you do it? 2. Can you do a walkthrough on your entire macOS setup (hotkeys on virtual screen switching, alacritty tiling, window tiling hotkeys) Apologies if i commented on this video as this way you'll notice my comment much more. Congrats on all your achievements and to all you future achievements! - Sev

  • @digicyc
    @digicyc Před dnem

    Your argument for using bash is a bit confusing. In most systems tmux isn't even installed so more often you'll have to install/set it up. So why would that be so bad to do the same with zsh? Plus you can script it fairly easily with some kind of .dotfiles to just install zsh and git and then clone your dotfiles and run a quick setup. That and the syntax for zsh shell scripts and bash scripts isn't all THAT different and you can stick with a POSIX style between em both for consistency reasons.

  • @jmraygoza6
    @jmraygoza6 Před 2 dny

    Does this have shopbot for d2r?

  • @simquinoa2030
    @simquinoa2030 Před 2 dny

    This was a really smart alternative way to do this. I like the idea of keeping it all compliant with the vscode dev container formula.

    • @simquinoa2030
      @simquinoa2030 Před 2 dny

      Also your justification adds up. We don’t just build dev environments for ourselves. If we use these professionally, we should also accommodate others if we can. And a LOT more people are comfortable with vs code

    • @mischavandenburg
      @mischavandenburg Před 2 dny

      I'm glad you agree. I think dev containers are the way to go when designing projects where many people need to collaborate. One should not become difficult to work with, it can impact your career significantly if you always need to have things in a special way.

  • @user-xd5gd4pc9h
    @user-xd5gd4pc9h Před 2 dny

    Good video!

  • @MarcGris
    @MarcGris Před 3 dny

    Thanks a lot Mischa !!!! 🙏:)

  • @ash1kh
    @ash1kh Před 3 dny

    So sad. Even microsoft devs don't use windows.. or surface laptop.. is those products that bad and expected us to use.... 🤣

    • @mischavandenburg
      @mischavandenburg Před 2 dny

      I don't think these products are bad. It's just that there are better alternatives available. I also think these devices are more designed for the general public and office workers who only need powerpoint and web browsers

  • @trancongminh2628
    @trancongminh2628 Před 3 dny

    Hi bro, Can you share me your colorscheme on your terminal and lazyvim?

  • @toolbelt
    @toolbelt Před 3 dny

    Wild stuff. Thanks for sharing your setup and thoughts behind it all.

  • @simquinoa2030
    @simquinoa2030 Před 3 dny

    I spent weeks trying to figure out devcontainers in neovim. Now I just use nix shell. It’s an amazing solution. With direnv I cd into my project, all dependencies are loaded and setup, and I even load a custom zellij layout. So all my panes are already setup on a per project basis

    • @simquinoa2030
      @simquinoa2030 Před 3 dny

      One thing to add. Setting up databases will pretty much always be better using docker (therefore dev containers). I usually prefer to include db build scripts as part of my startup flow though.

  • @Pytte
    @Pytte Před 3 dny

    all the things you do in your setup script you can do in nix :)

  • @daydreamer8042
    @daydreamer8042 Před 3 dny

    Good video. I like the point with the devcontainer that you don't force your way of working onto others. If you have too much free time, I can recommend ZaneyOS. It is a preconfigured NixOS that makes it easy to get started with NixOS. I like NixOS, but I also think it's hard to get going. I spent almost two months configuring my setup, and I'm currently pretty proud of it.

    • @mischavandenburg
      @mischavandenburg Před 3 dny

      Well said! And thank you for the tip. Will definitely note it down. And your comment confirms my suspicions: I would probably spend an inordinate amount of time on this if I go down the rabbit hole 🐰

  • @argha-01
    @argha-01 Před 3 dny

    Really love your conent😊 Please Make a detailed video on how nix and nixos... Can be utilised in the devops world

  • @mischavandenburg
    @mischavandenburg Před 3 dny

    Hey friends, I hope you enjoyed the video! I have a small favor to ask. I'm trying to grow my Twitter account, so I'd appreciate it if you could give me a follow. 🐦 twitter.com/mischa_vdburg It's a free way to support me and the channel! I've also started a newsletter. Feel free to check it out: 📰 mischavandenburg.substack.com/

  • @Ish_NotToday
    @Ish_NotToday Před 3 dny

    How collaborative is this approach? Will there be issues when multiple people connect to it?

  • @MarcGris
    @MarcGris Před 4 dny

    Very Nice !!! I'm "doubling down" on @CristianHeredia0 's comment: Looking very forward to your next video using nix instead of homebrew. Thx Misha 🙏😊

  • @CristianHeredia0
    @CristianHeredia0 Před 4 dny

    I use nix and nvim on osx and primarily develop in docker compose containers, so I’m eagerly looking forward to the next video. Using nvim inside of docker , with my conf, is a pain point I’ve been trying to solve for years.

  • @guidyouguy7306
    @guidyouguy7306 Před 4 dny

    Surprise you hostname same with me

  • @MarcGris
    @MarcGris Před 4 dny

    Oh... Nice !!! Thx Misha. I had recently "wrestled" with this question. Great solution. Please though: Share the devpod + nix alternative soon : )

  • @FenrirDevOps
    @FenrirDevOps Před 4 dny

    I have a 3-node proxmox cluster (with Intel nucs) and I've been playing with them for around 4 years. I love doing it because my learning and skill development process will never be dependant of any external platforms and employer's infrastructure. I strongly recommend setting up a homelab and self-hosting everything that you'd run/use in the cloud! I've got my own gitlab instance running pipelines with terraform and ansible and provisioning all my infra. I will post more repos once I finish my CKS.

  • @testolog
    @testolog Před 5 dny

    This is pretty good, but motivation is immediately work from any computer. Is at least questionable about project what u are working, because ur motivation looklike could resolved ssh. Other hand how many time u should to run from different laptop? But i know real reason why u did it. Is pretty simple. U buy a cluster for home and try to find how to utilize it) I know this felling because i'm the same)

  • @nouraldeen691
    @nouraldeen691 Před 5 dny

    I'm looking to replace my MacBook with a different laptop running two systems (Linux for programming) and (Windows for gaming). Which laptops do you suggest?

    • @mischavandenburg
      @mischavandenburg Před 2 dny

      MacBook + Gaming pc. Just joking, I'm not up to date with the latest Windows laptops, sorry.

  • @ricardokullock2535
    @ricardokullock2535 Před 5 dny

    Maybe it's also an advantage to have the same things but in Rust?

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      How would you notice? As a user it doesn’t really matter what language something is written in, in my experience

  • @botbot3698
    @botbot3698 Před 6 dny

    I know tinkering about audio on Linux is super super annoying but have you looked at audio interface alternatives that are compatible with Linux? Especially with the new arm based snapdragon laptops coming out I'm really intrigued about going full Linux, even for content creation. But I understand that if you're doing this professionally, too much fussing around to get simple things working can be really annoying (& costly).

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      The fussing and tinkering is great as a hobby but at some point it can be a real blocker for creative output. I did not look into alternatives because I already have a $500 dollar audio interface. Had I known about this limitation I might have considered a different one. However, this interface is hands down the best match for the microphone I have.

  • @bastian9945
    @bastian9945 Před 6 dny

    A Microsoft MVP using Mac. Blasphemy - I Like IT! xD

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      I am a man of several glaring contradictions. Thank you for the comment!

  • @minasmazar9627
    @minasmazar9627 Před 6 dny

    Really cool video! Thank you! 🙏 Just a small question... why don't you use Emacs? It's just one software that covers almost all the features you shown! 😜

  • @rwz
    @rwz Před 6 dny

    I started using devbox and really like the nix experience without containers.

    • @teeeh_
      @teeeh_ Před 4 dny

      I am wondering if this can provide the same security benefits of a (correctly configured) docker container. Pulling in many third party dependencies (npm etc.) feels more and more problematic. With the shown way of putting nvim into the container you also solve the same problem for it if there ever should be a malicious nvim plugin. Can I achieve the same isolation of main os/user and projects with nix? All I heard so far is that it is superior in setting up projects with pinned dependencies but does not bring any benefits in case of supply chain attacks. Honest question

  • @zehph
    @zehph Před 6 dny

    My nvim config has a setup for auto installing my lsps, linters and formatters on first open as well, this is why I went for a custom cfg instead of using lazy. Took a little extra setup at first, but is smooth now.

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      But does it install all of the lsp's every time? With this setup, I can tailor it for each environment

    • @zehph
      @zehph Před 4 dny

      @@mischavandenburg yeah, installs all of them, but maybe you could have the container endpoint run a nvim instance headless to install the extras here. You could pass the baby off the extras as a parameter to a little script there.

  • @zehph
    @zehph Před 6 dny

    I need to setup a homelab with tailscale and using this setup I can use a macbook air to handle all my needs to work remotely with great workspace separation and compartimentalization of stuff

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      Yes I think this is the way to go. Homelab is best, but DevPod also lets you run the workspaces on a VM on your chosen cloud provider, so you can use that as well until you get your own setup.

  • @wazz6003
    @wazz6003 Před 6 dny

    Great usecase for different customer/projects working with Devcontainers and Neovim, thanks alot!

  • @pravinkumarone
    @pravinkumarone Před 6 dny

    this is good stuff. another awesome tools, thanks for sharing Mischa!

  • @mischavandenburg
    @mischavandenburg Před 6 dny

    Hey friends, I hope you enjoyed the video! I have a small favor to ask. I'm growing my Twitter account, so I'd appreciate it if you could give me a follow. twitter.com/mischa_vdburg It's a free way to support me and the channel! I've also started a newsletter. Feel free to check it out: mischavandenburg.substack.com/

  • @esmaelmohammed-ih9pl

    I really confused why you worry like this?? You already know you're exceptional and i really agree on your skill also your personal is very approachable. Why don't you think working with African people specifically East Africa Ethiopia 🇪🇹 specially in cloud infrastructure ??

    • @mischavandenburg
      @mischavandenburg Před 6 dny

      Thank you for the kind words Esmael. I would like to work with African people for sure!

  • @user-xd5gd4pc9h
    @user-xd5gd4pc9h Před 7 dny

    Wonderful topic and good video. Perhaps, I am going to subscribe your channel depending on your next video. IMO, your method is copying your neovim config every container and repeat it many times making it difficult to maintain, and which is different from vscode's client and server architecture. Nix can help automatically maintaining different but similar configs by pinning different commints . Working with mountable shared volumes or directories and nix's Experimental Local Overlay Store, the storage of the container will be small and much more portable. I am really looking forward to your next video. My further question is: how to combine the project its own container and code base with devcontainer? Config in devcontainer.json from images? and base on it to install your config?

    • @user-xd5gd4pc9h
      @user-xd5gd4pc9h Před 6 dny

      BTW, what do you think about neovim --remote?

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      All of these I will explore in upcoming videos, so stay tuned! I did see nvim --remote but it did not seem to suit my needs. I prefer using devpod

    • @user-xd5gd4pc9h
      @user-xd5gd4pc9h Před 5 dny

      @@mischavandenburg I am looking forward for it.

  • @tahatahereddine
    @tahatahereddine Před 7 dny

    I love your videos, relaxing and informative!

  • @_fr3d_
    @_fr3d_ Před 7 dny

    Legit! the tradeoff is worth it as you can modify the environment as needed if custom variables or tool versions are needed. Bringing neovim along is a must! I'm gonna add neovim to my security research container soon!

  • @benarcher372
    @benarcher372 Před 7 dny

    Excellent and really interesting. I would much like to separate my various customer work in a safe and predictable way. Nix seems so hard to get my head around (not interested in the OS, only the package management part). Looking forward to your next video. Thanks and take care.

    • @mischavandenburg
      @mischavandenburg Před 6 dny

      Thank you for the comment. When I discovered this method of separation I was sold immediately!

  • @i.zhuravlev
    @i.zhuravlev Před 7 dny

    first, autoliked

  • @toolbelt
    @toolbelt Před 7 dny

    Hi Mischa, this video is extremely helpful. While I'm not yet going for the CKS, as you know, I'm planning to take the CKA in the near future. This video has a lot of great tips that I will take to heart. Thanks for sharing your experience.

    • @mischavandenburg
      @mischavandenburg Před 5 dny

      Thank you very much my friend! Indeed some of is applicable to the CKA as well. Keep up the good work and all the best of luck with your studies and exam!

  • @toolbelt
    @toolbelt Před 9 dny

    Around the pandemic I started noticing this word ‘homelab’ on CZcams. After a bit, I realized I had to build my own. It’s been so rewarding and a great learning experience for me. I’ve built up my rack and learned so much by ‘doing’ the work. I’m going to start doing as you suggest by documenting my lab on GitHub next. I look forward to that challenge. My current project is building a 4 node Kubernetes cluster of Raspberry Pi Computer Module 4s. I look forward to not only building this out but also taking the time to document it as well.

  • @toolbelt
    @toolbelt Před 9 dny

    The Skool community has been the best thing to enter my world in years. To anyone who is considering joining, go for it. You will not be disappointed.

    • @mischavandenburg
      @mischavandenburg Před 8 dny

      Thank you for the kind words Donovan. It's a pleasure to have so many lovely people like yourself in our community.

  • @mischavandenburg
    @mischavandenburg Před 9 dny

    Want to be part of a 150+ DevOps & Productivity Community? Join us! 👉 mischavandenburg.com/skool

  • @simo47768
    @simo47768 Před 10 dny

    The community is awesome. Leaning everyday something new.

  • @digitaldisruptlabs
    @digitaldisruptlabs Před 10 dny

    It is great to be part of the Skool community! You guys are awesome

  • @avramukk
    @avramukk Před 10 dny

    Study hall It's a perfect idea. Thanks. I will use it.

    • @mischavandenburg
      @mischavandenburg Před 10 dny

      Our friend Michael came up with it. It's a great idea for sure!

  • @Thelauraa93
    @Thelauraa93 Před 10 dny

    Slick edits!

  • @mischavandenburg
    @mischavandenburg Před 10 dny

    Want to be part of a 150+ DevOps & Productivity Community? Join us! 👉 mischavandenburg.com/skool 🤖 DevOps & Kubernetes 💎 Next-level Productivity & Note Taking 🚀 Accelerating your Career & Salary 🤝 Enjoying the journey with new friends

  • @punnypuns5103
    @punnypuns5103 Před 11 dny

    You wasted 10 mins of my life to only try to sell me a product…😂

    • @mischavandenburg
      @mischavandenburg Před 10 dny

      Of course not, literally everything you would want to know on anything is available online on the internet for free, and you free to explore that for yourselves. Some people choose to invest in saving time through mentorship and training.

  • @comosaycomosah
    @comosaycomosah Před 12 dny

    i think this video is great man! one of my biggest mistakes is not documenting stuff i GOT to fix this but yea yaml hell is rough lol i just barely escaped the last 2 months 3 months and still land in purgatory sometimes 💀

    • @mischavandenburg
      @mischavandenburg Před 11 dny

      I'm happy you liked the video! For sure, get in the habit of documenting things, it is a very important part of the job.

    • @comosaycomosah
      @comosaycomosah Před 9 dny

      @@mischavandenburg yea man youre stuff is awesome! And I know I gotta get in the habit. Think I'm gonna force myself to "put myself out there" and make some content that ties in with documenting stuff if this makes sense

  • @pravinkumarone
    @pravinkumarone Před 12 dny

    Home lab counts as experience! Awesome!!!