feat(gui): persist regreet cache

Contains useful state information.
This commit is contained in:
514fpv 2024-01-03 11:39:46 +08:00
parent 33e79cf0a4
commit 21098e4b56
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -5,4 +5,6 @@
cfg = config.faucet.gui;
in mkIf (cfg.enable && cfg.session) {
programs.regreet.enable = true;
environment.persistence."/nix/persist/fhs".directories = [ "/var/cache/regreet" ];
}