mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 09:36:20 +09:00
nixos: Update documentation to refer to bin/apply
This commit is contained in:
parent
d0b30777a2
commit
7902cea1de
7 changed files with 12 additions and 12 deletions
|
@ -12,7 +12,7 @@ system has booted, you can make the selected configuration the default
|
|||
for subsequent boots:
|
||||
|
||||
```ShellSession
|
||||
# /run/current-system/bin/switch-to-configuration boot
|
||||
# /run/current-system/bin/apply boot
|
||||
```
|
||||
|
||||
Second, you can switch to the previous configuration in a running
|
||||
|
@ -25,11 +25,11 @@ system:
|
|||
This is equivalent to running:
|
||||
|
||||
```ShellSession
|
||||
# /nix/var/nix/profiles/system-N-link/bin/switch-to-configuration switch
|
||||
# /nix/var/nix/profiles/system-N-link/bin/apply switch
|
||||
```
|
||||
|
||||
where `N` is the number of the NixOS system configuration. To get a
|
||||
list of the available configurations, do:
|
||||
where `N` is the number of the NixOS system configuration to roll back to.
|
||||
To get a list of the available configurations, run:
|
||||
|
||||
```ShellSession
|
||||
$ ls -l /nix/var/nix/profiles/system-*-link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue