mako: add testbed (#1192)

Link: https://github.com/nix-community/stylix/pull/1192

Reviewed-by: awwpotato <awwpotato@voidq.com>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
Mateus Auler 2025-07-04 17:51:21 +00:00 committed by GitHub
parent dea0337e0b
commit 6b2898a6b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,25 @@
{ lib, pkgs, ... }:
{
# We use Hyprland because Gnome has its own notification daemon
environment.loginShellInit = lib.getExe pkgs.hyprland;
programs.hyprland.enable = true;
home-manager.sharedModules = lib.singleton {
services.mako.enable = true;
wayland.windowManager.hyprland = {
enable = true;
settings.exec-once =
# Run as a single command to ensure the same order between executions
lib.concatMapStringsSep " && "
(
urgency: "${lib.getExe pkgs.libnotify} --urgency ${urgency} ${urgency} urgency"
)
[
"low"
"normal"
"critical"
];
};
};
}