update README

This commit is contained in:
Daniel Langbein 2023-09-06 14:59:09 +02:00
parent 8d59d29881
commit 5a6f1408c5

View File

@ -43,6 +43,8 @@ To apply the updates, continue with "Build and switch".
# This leaves a symlink named `result` in the current directory.
sudo nixos-rebuild -I nixos-config=hosts/$(hostname)/configuration.nix build
nix --extra-experimental-features nix-command store diff-closures /run/current-system ./result
#=> ...
#=> linux: 6.1.47, 6.1.47-modules → 6.1.51, 6.1.51-modules, -11.8 KiB
```
Depending on if there are large kernel changes, either switch to it directly or wait until next boot:
@ -50,6 +52,7 @@ Depending on if there are large kernel changes, either switch to it directly or
```shell
sudo ./result/bin/switch-to-configuration switch
# or
# TODO: This does not work. There is no new boot menu entry :/
sudo ./result/bin/switch-to-configuration boot
```