dotfiles/modules/services/dunst.nix

21 lines
348 B
Nix
Raw Normal View History

2022-07-15 13:11:54 +02:00
{ config
, lib
, pkgs
, ...
}:
with lib;
let
cfg = config.my.services.dunst;
in
2021-10-24 17:13:50 +02:00
{
2022-10-15 20:00:09 +02:00
options.my.services.dunst.enable = mkEnableOption "dunst";
2021-10-24 17:13:50 +02:00
2022-07-15 13:11:54 +02:00
config = lib.mkIf cfg.enable {
2023-08-10 18:41:34 +02:00
home-manager.users.moritz.services.dunst.enable = true;
home-manager.users.moritz.services.dunst.settings.global = {
font = "Monospace 10";
2021-09-09 21:55:28 +02:00
};
};
2021-10-24 17:13:50 +02:00
}