Replaced mako with swaync
This commit is contained in:
parent
781964e875
commit
dbd0630d45
6 changed files with 142 additions and 138 deletions
25
modules/nixos/desktop/addons/swaync/default.nix
Normal file
25
modules/nixos/desktop/addons/swaync/default.nix
Normal 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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue