Replaced mako with swaync

This commit is contained in:
Alejandro Angulo 2024-07-09 22:54:23 -07:00
parent 781964e875
commit dbd0630d45
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
6 changed files with 142 additions and 138 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.aa.desktop.addons.swaync;
in {
options.aa.desktop.addons.swaync = {
enable = lib.mkEnableOption "sway notification center";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [libnotify];
aa.home.extraOptions = {
services.swaync = {
enable = true;
settings = {
widgets = ["title" "dnd" "notifications" "mpris"];
};
};
};
};
}