mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-20 21:58:06 +01:00
update README
This commit is contained in:
parent
8d59d29881
commit
5a6f1408c5
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user