From 38c810382ab94a4034dc03581d33e7f4dec6b445 Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Sun, 16 Aug 2026 17:51:23 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=206=20@=20lilac=20=E2=80=94=202026?= =?UTF-8?q?-08-16=2017:51=2026.05.20260814.02e0898=20(Yarara)=20-----?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/jashton.nix | 17 +++++++++++++++++ system/packages.nix | 1 + 2 files changed, 18 insertions(+) diff --git a/home/jashton.nix b/home/jashton.nix index fc58213..3468d5a 100644 --- a/home/jashton.nix +++ b/home/jashton.nix @@ -108,6 +108,23 @@ in ''; }; + systemd.user.services.lan-mouse = { + Unit = { + Description = "Lan Mouse Daemon"; + After = [ "graphical-session.target" ]; + PartOf = [ "graphical-session.target" ]; + }; + Install = { + WantedBy = [ "graphical-session.target" ]; + }; + Service = { + # The --daemon flag ensures it runs silently in the background without opening the GUI + ExecStart = "${pkgs.lan-mouse}/bin/lan-mouse --daemon"; + Restart = "on-failure"; + RestartSec = "5"; + }; + }; + programs.ssh = { enable = true; matchBlocks = { diff --git a/system/packages.nix b/system/packages.nix index ed8fd92..e5c834f 100644 --- a/system/packages.nix +++ b/system/packages.nix @@ -24,6 +24,7 @@ gnupg jq keepassxc + lan-mouse libnotify mypy networkmanagerapplet