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:
parent
dea0337e0b
commit
6b2898a6b7
1 changed files with 25 additions and 0 deletions
25
modules/mako/testbeds/default.nix
Normal file
25
modules/mako/testbeds/default.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue