diff --git a/README.md b/README.md index 78c7a02..0ba1068 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,19 @@ cd /mnt sudo nixos-install ``` +## how to install updates + +```bash +# update flakes +nix flake update + +# rebuild system +sudo nixos-rebuild switch --flake ~/git/nixconfig#default + +# update home-manager files +home-manager switch --flake ~/git/nixconfig/ +``` + ## author aaron