Merge pull request 'state.nix: improve docs' (#732) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 29s
checks-impure / test (push) Successful in 1m18s

This commit is contained in:
clan-bot 2024-01-17 06:51:55 +00:00
commit 0b291c656f

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
'';
};
};