11 lines
232 B
Nix
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" ];
|
|
}
|