YouTube doesn't want you know this subscribers secret
Get Free YouTube Subscribers, Views and Likes

NixOS Setup Guide - Configuration / Home-Manager / Flakes

Follow
Matthias Benaets

!!!Resources, Timestamps, and Extra Notes Below!!!

In this minicourse I try to demystify the whole process of setting up NixOS on your personal system.
This course covers:
NixOS (configuration.nix and hardwareconfiguration.nix)
Home Manager (home.nix)
Flakes (flake.nix)

This video is for entertainment purposes only.
Some aspects/topics might change in future updates.
Not everything is 100% correctly explained or information is left out. This is done to get the point across and keep everything accessible for newcomers.

Notes ( that I forgot to mention and will probably be updated with more information):
Flakes are currently only supported on the unstable version of NixOS
HomeManager can be updated again by just running:
$ nixchannel update
Changing byuuid in hardwareconfiguration.nix to *bylabel*, does not mean you can always use this for other systems as mentioned at 0:55:00. Depending on your system, other kernel modules are needed for the system. In this case, it's highly recommended to still run:
nixosgenerateconfig root /mnt
But this is useful if you want to reinstall the profile on the same formatted system.
nix.settings.autooptimisestore is currently only available on unstable
I know it's curly. But I like squirly :)

Resources:
NixOS:
1. NixOS Website: https://nixos.org/
2. NixOS Manual: https://nixos.org/manual/nixos/stable/
3. NixOS Packages & Options: https://search.nixos.org/packages
4. NixOS Wiki: https://nixos.wiki/wiki/Main_Page
HomeManager:
5. HomeManager: https://github.com/nixcommunity/home...
6. HomeManager Manual: https://nixcommunity.github.io/home...
7. HomeManager Appendix A: https://nixcommunity.github.io/home...
8. HomeManager Appendix B: https://nixcommunity.github.io/home...
Examples:
9. Personal Flake: https://github.com/MatthiasBenaets/ni...
10. List of reference configurations: https://nixos.wiki/wiki/Configuration...
Extras:
11. NixOS Learn: https://nixos.org/learn.html/
12. Nix Pills: https://nixos.org/guides/nixpills/

Timestamps:
0:00:00 Introduction
0:02:25 NixOS
0:08:35 Live CD
0:13:00 Partitioning
0:22:00 Configuration.nix
0:53:55 Hardwareconfiguration.nix
0:56:00 System Installation
1:00:35 Installing Packages
1:21:25 NixOS Extras
1:29:35 HomeManager
1:33:00 HomeManager Setup
1:45:28 HomeManager Configuration
1:57:50 Flakes
2:02:10 Flakes Setup
2:07:47 Flakes NixOS
2:20:23 Flakes HomeManager
2:34:25 Flakes Extra
2:40:18 Personal Configuration

Enjoyed the course and want to tip? https://www.paypal.com/donate/?hosted...

posted by entinem5z