mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-24 14:01:22 +02:00
fix: issue #214
This commit is contained in:
parent
5557e6c187
commit
8028d83893
@ -7,14 +7,14 @@ in `/etc/nixos` or any other location where you keep the configuration:
|
||||
# Update flake.lock
|
||||
nix flake update
|
||||
|
||||
# Or replace only the specific input, such as home-manager:
|
||||
# Or update only the specific input, such as home-manager:
|
||||
nix flake update home-manager
|
||||
|
||||
# Apply the updates
|
||||
sudo nixos-rebuild switch --flake .
|
||||
|
||||
# Or to update flake.lock & apply with one command (i.e. same as running "nix flake update" before)
|
||||
sudo nixos-rebuild switch --recreate-lock-file --flake .
|
||||
# Or to update flake.lock & apply with one command (i.e. same as running "nix flake update" before 'switch')
|
||||
sudo nixos-rebuild switch --flake .
|
||||
```
|
||||
|
||||
Occasionally, you may encounter a "sha256 mismatch" error when running
|
||||
|
Loading…
x
Reference in New Issue
Block a user