From 24b273b4b0f43d07021df236f835020c76d21330 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Wed, 12 Nov 2025 11:09:56 -0500 Subject: [PATCH] autostart input-leap --- home/all.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/home/all.nix b/home/all.nix index 936ff9b..db3b31d 100755 --- a/home/all.nix +++ b/home/all.nix @@ -53,6 +53,27 @@ }; }; + systemd.user.services.input-leap = { + Unit = { + Description = "Autostart Input Leap"; + After = [ "graphical-session.target" ]; + }; + + Service = { + Type = "oneshot"; + RemainAfterExit = true; + PassEnvironment = "DISPLAY"; + ExecStart = "${pkgs.writeShellScript "input-leap-start" '' + sleep 5 + ${pkgs.input-leap}/bin/input-leap + ''}"; + }; + + Install = { + WantedBy = [ "graphical-session.target" ]; + }; + }; + programs.konsole.enable = false; programs.kitty = {