From 0b883923efacd97fbc5b84ec4f206ba23c6098a9 Mon Sep 17 00:00:00 2001 From: BalrajSinghGidda Date: Fri, 20 Mar 2026 20:51:11 +0530 Subject: [PATCH] Docs: Clarify no nix-channel commands needed for flakes --- MIGRATION_TO_UNSTABLE.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MIGRATION_TO_UNSTABLE.md b/MIGRATION_TO_UNSTABLE.md index db935c8..181cf97 100644 --- a/MIGRATION_TO_UNSTABLE.md +++ b/MIGRATION_TO_UNSTABLE.md @@ -17,6 +17,21 @@ This guide walks you through migrating from NixOS 25.11 (stable) to nixos-unstab ## Migration Steps +### Important: No nix-channel commands needed! 🎉 + +You're using **Flakes**, which is the modern way to manage NixOS. Your `flake.nix` file defines your "channel" (nixpkgs source), so you don't need to run any `nix-channel` commands. + +**Old way (channels):** +```bash +sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos +sudo nix-channel --update +``` + +**Your way (flakes):** +```bash +nix flake update # That's it! +``` + ### Step 1: Update flake.nix ✅ (DONE) The flake.nix has been updated to use: