Vigyata.AI
Is this your channel?

NixOS Home Manager Simple Explanation

13.1K views· 347 likes· 6:19· Feb 24, 2024

🛍️ Products Mentioned (10)

I had fun recording this video and hope this helped explain the concept of home manager inside NixOS. This is not a guide for using it and I do plan on making that video. This is just to help explain the idea of home manager. *Links Mentioned:* Nix Packages: https://search.nixos.org/packages Home Manager Options: https://nix-community.github.io/home-manager/options.xhtml 🌟 Thank you for watching! Please let me know what you think in the comments! 🔻 MY LINKS 🔻 🛰️ Website: https://www.zaney.org 💰 Patreon: https://www.patreon.com/akazaney 🐘 Mastodon: https://mas.to/@Zaney 🗨️ Discord: https://discord.gg/2cRdBs8 🛒 Store: https://zaney-shop.fourthwall.com ☕ BuyMeACoffee: https://www.buymeacoffee.com/notzaney 📁 Gitlab: https://www.gitlab.com/Zaney/ 💳 CashApp: $theofficialtylerk 🎴 Venmo: @TheOfficialTylerK 💸 Liberapay: https://liberapay.com/Zaney ✉️ Email: tylerzanekelley@gmail.com

About This Video

I wanted to take a little time and just explain what Home Manager actually is inside NixOS, because I keep seeing people get tripped up on how it “fits” with the rest of the system. This isn’t a step-by-step guide on setting it up (I do want to make that), it’s more about the concept so it stops feeling like some mysterious extra layer. The easiest way to think about it is: NixOS modules/options configure your system, and Home Manager modules/options configure your user and home environment the same way. In the video I start from the Nix Packages site and the NixOS options idea—like how you don’t just install NetworkManager, you also go look at the options tree to configure what it does. Home Manager works the same way, except the options are for your user programs and dotfile-ish stuff. I pull up the Home Manager options page, search for something simple like bash, and you can literally see the knobs: enable bash, completion, extra bashrc, aliases, and so on. Then I show how this maps directly into my own repo layout: I keep “system” config separate from “home” config, and inside the home folder I’ve got nix files per program (like bash) where I set those exact options. Once you see it like that, Home Manager stops being scary—it’s just NixOS-style configuration, but aimed at your home folder.

Frequently Asked Questions

🎬 More from Zaney