Nix Home Manager Tutorial

Published: 13 March 2023
on channel: DevInsideYou
14,934
301

In this video we are going to learn about Home Manager - a program that allows you to not only keep your .dotfiles but also the programs themselves in sync across all of your devices by leveraging the power of Nix!

Watch my videos before everyone else!
   / @devinsideyou  

Make sure to check out the links from our sponsors:
Scala Jobs: https://scalajobs.com
Rust Jobs: https://rustjobs.dev

The commit is here: https://github.com/agilesteel/.dotfil...
The raw files from that commit are here:
https://raw.githubusercontent.com/agi...
https://raw.githubusercontent.com/agi...

The fix for the sudo installer: https://discourse.nixos.org/t/install...
The Nix Flake for Scala is here: https://github.com/devinsideyou/scala...
My dotfiles are here: https://dotfiles.devinsideyou.com

This is how you can see a diff between the last 2 generations:

home-manager generations | head -n 2 | tac | cut -d " " -f 7 | xargs nix store diff-closures

You can also use a separate tool called nvd to do this:

home-manager generations | head -n 2 | tac | cut -d " " -f 7 | xargs nvd diff

00:00 Intro
01:08 What is Nix?
02:04 What is Nix Home Manager?
02:40 Why use Nix Home Manager?
03:22 The best way to learn Nix
05:58 Nix Home Manager with Flakes Installation Instructions
10:08 Nix Home Manager with Flakes Installation Demo
21:07 Nix Home Manager commands and aliases
22:37 How YOU can get started with the Nix Home Manager
28:21 The Nix Language
40:22 Outro

Website: https://devinsideyou.com

Patreon: https://patreon.devinsideyou.com
Discord: https://discord.devinsideyou.com
Telegram: https://telegram.devinsideyou.com
Twitter: https://twitter.devinsideyou.com
GitHub: https://github.devinsideyou.com
LBRY: https://lbry.devinsideyou.com

Install scripts: https://install.devinsideyou.com
Giter8 templates: https://g8.devinsideyou.com

Spotify concentration playlist: https://code.radio.devinsideyou.com

Cheers and Happy Coding!

#HomeManager #NixFlakes


Watch video Nix Home Manager Tutorial online without registration, duration hours minute second in high quality. This video was added by user DevInsideYou 13 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,93 once and liked it 30 people.