From 38ee8055976ef8abe00cfe525a081734841f0a6e Mon Sep 17 00:00:00 2001 From: "Thomas G. Lopes" Date: Wed, 25 Mar 2026 19:26:50 +0000 Subject: [PATCH] start handy on startup --- modules/packages.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/packages.nix b/modules/packages.nix index cf7925d..4b3496a 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -29,5 +29,17 @@ jjui bat ]; + + systemd.user.services.handy = { + description = "Handy"; + wantedBy = ["graphical-session.target"]; + partOf = ["graphical-session.target"]; + after = ["graphical-session.target"]; + serviceConfig = { + ExecStart = "${self.packages.${pkgs.stdenv.hostPlatform.system}.handy}/bin/handy"; + Restart = "on-failure"; + RestartSec = 5; + }; + }; }; }