From 21098e4b56c20db4b419e9b31082f948e4582e0a Mon Sep 17 00:00:00 2001 From: 514fpv Date: Wed, 3 Jan 2024 11:39:46 +0800 Subject: [PATCH] feat(gui): persist regreet cache Contains useful state information. --- faucet/gui/greetd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faucet/gui/greetd.nix b/faucet/gui/greetd.nix index fd717d71..f7c4e310 100644 --- a/faucet/gui/greetd.nix +++ b/faucet/gui/greetd.nix @@ -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" ]; }