README: MANUAL MIGRATION: move "private" store to /nix/persist/private

to migrate the data, first unmount `~/private` (`sane-private-lock`), then:
```sh
$ sudo mv /nix/persist/home/colin/private /nix/persist
$ switch
$ reboot
```
This commit is contained in:
2024-02-23 15:08:16 +00:00
parent eecb98e2ee
commit fff9f9d49a

View File

@@ -4,8 +4,7 @@ let
# TODO: parameterize!
persist-base = "/nix/persist";
origin = config.sane.persist.stores."private".origin;
# TODO: remove the `prefix` part of this (will require data migration)
backing = sane-lib.path.concat [ persist-base config.sane.persist.stores."private".prefix "private" ];
backing = sane-lib.path.concat [ persist-base "private" ];
in
lib.mkIf config.sane.persist.enable
{