state.nix: improve docs
All checks were successful
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m9s

This commit is contained in:
DavHau 2024-01-15 16:03:47 +07:00
parent 07a0e1db09
commit c944fe8b48

View File

@ -20,6 +20,8 @@
default = ":";
description = ''
script to run before restoring the state dir from a backup
Utilize this to stop services which currently access these folders
'';
};
postRestoreScript = lib.mkOption {
@ -27,6 +29,8 @@
default = ":";
description = ''
script to restore the service after the state dir was restored from a backup
Utilize this to start services which were previously stopped
'';
};
};