Allow choosing the testbed desktop, ideally as a temporary solution until migrating to the cage environment. Link: https://github.com/nix-community/stylix/pull/1222 Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com> Reviewed-by: awwpotato <awwpotato@voidq.com> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
23 lines
566 B
Nix
23 lines
566 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
{
|
|
stylix.testbed.ui = {
|
|
# We use Hyprland because Gnome has its own notification daemon
|
|
graphicalEnvironment = "hyprland";
|
|
command.text =
|
|
# 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"
|
|
];
|
|
};
|
|
|
|
home-manager.sharedModules = lib.singleton {
|
|
services.mako.enable = true;
|
|
};
|
|
}
|