1
0
Fork 0

Fixed README. No channel upgrade => set to unstable

This commit is contained in:
Jan Grosser 2024-06-03 00:10:07 +02:00
parent 6c719546c8
commit 3feb961b75

View file

@ -34,15 +34,8 @@ sudo nixos-rebuild switch --flake ~/nixos/#<host>
```
## Upgrading to a new NixOS channel
List the current channels:
```
sudo nix-channel --list
```
Change the channel `nixos`:
```
sudo nix-channel --add https://nixos.org/channels/nixos-<rel>
```
Then, perform an update like above.
In `flake.nix` the channel is set to `unstable`. Therefore, there is no
need to upgrade the channel.
## Garbage Collection
List all generations: