From c9c12f8882cf310fb8fc8478ee2205b097e07c16 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 29 Jun 2023 14:19:55 -0600 Subject: [PATCH] [NixOS] Re-enable notifications-tray-icon --- nixos/home-manager.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/nixos/home-manager.nix b/nixos/home-manager.nix index 0544e308..7798d1d1 100644 --- a/nixos/home-manager.nix +++ b/nixos/home-manager.nix @@ -103,21 +103,21 @@ inputs: { pkgs, config, ... }: { }; }; - # systemd.user.services.notifications-tray-icon = { - # Unit = { - # Description = "Notifications tray icon"; - # After = [ "graphical-session-pre.target" "tray.target" ]; - # PartOf = [ "graphical-session.target" ]; - # }; + systemd.user.services.notifications-tray-icon = { + Unit = { + Description = "Notifications tray icon"; + After = [ "graphical-session-pre.target" "tray.target" ]; + PartOf = [ "graphical-session.target" ]; + }; - # Install = { WantedBy = [ "graphical-session.target" ]; }; + Install = { WantedBy = [ "graphical-session.target" ]; }; - # Service = { - # ExecStart = "${pkgs.haskellPackages.notifications-tray-icon}/bin/notifications-tray-icon --github-token-pass dfinity-github-api-token"; - # Restart = "always"; - # RestartSec = 3; - # }; - # }; + Service = { + ExecStart = "${pkgs.haskellPackages.notifications-tray-icon}/bin/notifications-tray-icon --github-token-pass dfinity-github-api-token"; + Restart = "always"; + RestartSec = 3; + }; + }; systemd.user.services.picom = { Unit = {