mirror of
https://github.com/flynx/nixos.git
synced 2025-10-28 10:40:08 +00:00
added basic info...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5ae4bcb728
commit
e1f53febd2
18
README.md
Normal file
18
README.md
Normal file
@ -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
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user