NixOS 24.11: README

This commit is contained in:
Daniel Langbein 2025-01-01 14:26:39 +00:00
parent 5132ff0dec
commit cc6f14811a
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -73,10 +73,10 @@ Initialize:
niv init niv init
``` ```
Change the tracking branch of nixpkgs from unstable to 23.05: Change the tracking branch of nixpkgs from unstable to 24.11:
```shell ```shell
niv modify nixpkgs --branch nixos-23.05 niv modify nixpkgs --branch nixos-24.11
``` ```
Add nixpkgs unstable: Add nixpkgs unstable:
@ -92,7 +92,7 @@ Home Manager:
> [Home Manager] allows declarative configuration of user specific (non-global) packages and dotfiles. > [Home Manager] allows declarative configuration of user specific (non-global) packages and dotfiles.
> >
> To avoid breaking users' configurations, Home Manager is released in branches corresponding to NixOS releases ( > To avoid breaking users' configurations, Home Manager is released in branches corresponding to NixOS releases (
> e.g. `release-23.05`). > e.g. `release-24.11`).
> >
> Home Manager provides both the channel-based setup and the flake-based one. > Home Manager provides both the channel-based setup and the flake-based one.
> >
@ -102,13 +102,13 @@ Check your channel:
```shell ```shell
sudo nix-channel --list sudo nix-channel --list
#=> nixos https://nixos.org/channels/nixos-23.05 #=> nixos https://nixos.org/channels/nixos-24.11
``` ```
Use the corresponding branch: Use the corresponding branch:
```shell ```shell
niv add nix-community/home-manager -n home-manager -b release-23.05 niv add nix-community/home-manager -n home-manager -b release-24.11
``` ```
### Add NUR with niv ### Add NUR with niv
@ -130,11 +130,12 @@ nix-info -m
``` ```
``` ```
- system: `"x86_64-linux"` - system: `"x86_64-linux"`
- host os: `Linux 6.1.51, NixOS, 23.05 (Stoat), 23.05.3242.da5adce0ffaf` - host os: `Linux 6.12.7, NixOS, 24.11 (Vicuna), 24.11pre-git`
- multi-user?: `yes` - multi-user?: `yes`
- sandbox: `yes` - sandbox: `yes`
- version: `nix-env (Nix) 2.13.5` - version: `nix-env (Nix) 2.24.11`
- channels(root): `"nixos-23.05"` - channels(root): `"nixos-24.11, unstable"`
- channels(yoda): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos` - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
``` ```