home-manager icon indicating copy to clipboard operation
home-manager copied to clipboard

bug: manual: how do I know if I'm "following Nixpkgs master or an unstable channel" or "follow a Nixpkgs version 23.11 channel"?

Open SIGSTACKFAULT opened this issue 1 year ago • 2 comments

Are you following the right branch?

  • [X] My Nixpkgs and Home Manager versions are in sync

Is there an existing issue for this?

  • [X] I have searched the existing issues

Issue description

I'm Extremely New:tm: to NixOs and am attempting to install home-manager. The manual says:

image

How do I know if which of these applies to me?

This is now a rhetorical question because I asked in the nixos matrix and was promptly told to do sudo nix-channel --list which tells me i follow 23.11. But the manual ought to say that.

Maintainer CC

@considerate (from manual's blame)

System information

- system: `"x86_64-linux"`
 - host os: `Linux 6.1.79, NixOS, 23.11 (Tapir), 23.11.4801.b7ee09cf5614`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

SIGSTACKFAULT avatar Mar 05 '24 00:03 SIGSTACKFAULT

I don't feel confident in deciding how this should be documented. I personally don't use channels. I have a local flake registry with flakes from my system flake.

I understand that improving the initial experience for newcomers is important. Learning nix-related stuff is difficult, not only because there are a lot of new concepts that you need to learn from the very beginning, but also because depending on what you're trying to do it might just be difficult to achieve in nix compared to other solutions.

I would probably advocate to guide beginners to use the most recent stable version (23.11 as of today) and make this a bit more prominent. However, I don't think this is my call to make.

What are your thoughts @rycee ?

considerate avatar Mar 05 '24 03:03 considerate

How about "If you don't know, you're most likley following 23.11"

SIGSTACKFAULT avatar Apr 24 '24 18:04 SIGSTACKFAULT

Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

  • If this is resolved, please consider closing it so that the maintainers know not to focus on this.
  • If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
If you are not the original author of the issue

  • If you are also experiencing this issue, please add details of your situation to help with the debugging process.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.
Memorandum on closing issues

Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

stale[bot] avatar Jul 26 '24 08:07 stale[bot]