diff --git a/README.md b/README.md new file mode 100644 index 0000000..5bc0574 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ + +## Two stage update + +The configuration is split into two parts to allow for two stage updates to conserve space +on storage-limited systems. + +To run a two stage update do: +```shell + $ sudo NIX_LIGHTWEIGHT=1 nixos-rebbuild switch + $ reboot +``` +then: +```shell + $ sudo nix-collect-garbage --delete-old + $ sudo nixos-rebbuild switch +``` + +