2024-10-21 12:31:30 +07:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-10-16 10:51:40 +07:00
|
|
|
let
|
|
|
|
hyprland = config.profile.hyprland;
|
|
|
|
cfg = config.profile.services.ntfy-sh.client;
|
|
|
|
inherit (lib) mkIf;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
config = mkIf (hyprland.enable && cfg.enable) {
|
2024-10-21 12:31:30 +07:00
|
|
|
home.packages = with pkgs; [ ntfy-sh ];
|
2024-10-17 16:56:28 +07:00
|
|
|
|
2024-10-20 17:20:54 +07:00
|
|
|
# wayland.windowManager.hyprland.settings.exec-once = [
|
|
|
|
# "ntfy subscribe --config /etc/ntfy/client.yml --from-config"
|
|
|
|
# ];
|
2024-10-16 10:51:40 +07:00
|
|
|
};
|
|
|
|
}
|