diff --git a/README.md b/README.md index 0fbeb3b..c1ac154 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,9 @@ All system's nix configuration -Updating: `sudo nixos-rebuild switch --flake /etc/nixos/#hostname` +Updating: +``` +sudo flake update +sudo nixos-rebuild switch --flake /etc/nixos/#hostname +``` +Or just e.g. `sudo nixos-rebuild switch --recreate-lock-file --flake .#default`