From 94f989ec0e94beb9668581ddc08d67af6f667484 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Wed, 4 Apr 2018 21:13:54 +0200 Subject: machines/katara: rm twmn notify daemon, add dunst (user service) --- machines/profpatsch/katara.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 4342cb71..4b1cf4e3 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -287,11 +287,8 @@ in { set-background & # TODO xbindkeys user service file ${lib.getBin xbindkeys}/bin/xbindkeys - nice -n19 dropbox-cli start & - nm-applet & # synchronize clipboards ${lib.getBin autocutsel}/bin/autocutsel -s PRIMARY & - ${lib.getBin twmn}/bin/twmnd & ''; }; @@ -407,6 +404,22 @@ in { }; } + ({ + services.dunst = { + description = "dunst libnotify daemon"; + serviceConfig = { + Type = "dbus"; + BusName = "org.freedesktop.Notifications"; + ExecStart = + let config = pkgs.writeText "dunst.conf" (lib.generators.toINI {} {}); + in "${lib.getBin pkgs.dunst}/bin/dunst -config ${config}"; + Restart = "on-failure"; + }; + partOf = [ "graphical-session.target" ]; + wantedBy = [ "graphical-session.target" ]; + }; + }) + ({ services.pyrnotify-ssh-connection = { description = "ssh connection to make pyrnotify work"; -- cgit 1.4.1