nixos/faucet/gui/greetd.nix
514fpv 21098e4b56
feat(gui): persist regreet cache
Contains useful state information.
2024-01-03 11:39:46 +08:00

11 lines
232 B
Nix

{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.faucet.gui;
in mkIf (cfg.enable && cfg.session) {
programs.regreet.enable = true;
environment.persistence."/nix/persist/fhs".directories = [ "/var/cache/regreet" ];
}