24 lines
598 B
Nix
24 lines
598 B
Nix
{ pkgs
|
|
, lib
|
|
, config
|
|
, ... }: with lib; let
|
|
cfg = config.global.gpu;
|
|
in mkIf (cfg.enable && cfg.session) {
|
|
programs.regreet = {
|
|
enable = true;
|
|
cageArgs = [ "-s" "-d" "-m" "last" ];
|
|
settings = {
|
|
background.path = ../../share/54345906_p0.jpg;
|
|
background.fit = "Fill";
|
|
GTK = {
|
|
application_prefer_dark_theme = true;
|
|
cursor_theme_name = "Bibata-Modern-Classic";
|
|
icon_theme_name = "WhiteSur-dark";
|
|
theme_name = "WhiteSur-Dark";
|
|
};
|
|
};
|
|
};
|
|
|
|
environment.persistence."/nix/persist/fhs".directories = [ "/var/cache/regreet" ];
|
|
}
|