From e99d8510d7f8d47cbf6217b2b6c7cd64d9457570 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 2 Nov 2021 13:02:56 +0100 Subject: feat(tazjin/tverskoy): Add dunst configuration This one is basically taken from some gist linked in the official dunst readme and makes nice little boxes. Change-Id: I5bee8488f333dcc2f7040b741729065ef8617ae0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3767 Reviewed-by: tazjin Tested-by: BuildkiteCI --- users/tazjin/nixos/tverskoy/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'users/tazjin/nixos/tverskoy') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index 9f19210d17..dbd20178d8 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -367,6 +367,15 @@ in lib.fix(self: { lockCmd = "${screenLock}/bin/tazjin-screen-lock"; }; + services.dunst.enable = true; + + xdg.configFile."dunst/dunstrc" = { + source = depot.users.tazjin.dotfiles.dunstrc; + onChange = '' + ${pkgs.procps}/bin/pkill -u "$USER" ''${VERBOSE+-e} dunst || true + ''; + }; + systemd.user.startServices = true; }; -- cgit 1.4.1