Make az-dunst a service

This commit is contained in:
Andreas Zweili 2023-06-09 22:19:42 +02:00
parent ae80ecd4d5
commit 0c1ae80fcd

View File

@ -1,10 +1,10 @@
{ config, lib, ... }: { config, lib, ... }:
let let
cfg = config.programs.az-dunst; cfg = config.services.az-dunst;
in in
{ {
options = { options = {
programs.az-dunst.enable = lib.mkEnableOption "Enable dunst."; services.az-dunst.enable = lib.mkEnableOption "Enable dunst.";
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {