310 current 1970-01-01 01:00:00 23.11.20240514.9ddcaff 6.1.90 *

This commit is contained in:
2024-05-18 16:24:54 +02:00
parent d35f27ea11
commit 2283f4b660
3 changed files with 103 additions and 80 deletions

View File

@@ -0,0 +1,29 @@
{
lib,
config,
...
}: let
cfg = config.sway.mako;
in {
options = {
sway.mako.enable = lib.mkEnableOption "mako, a notification deamon";
};
config = lib.mkIf cfg.enable {
services.mako = {
enable = true;
actions = true;
anchor = "top-right";
borderRadius = 10;
borderSize = 2;
height = 100;
width = 400;
defaultTimeout = 10000; # ms
font = "FiraCode Nerd Font 11";
icons = true;
markup = true;
};
};
}