From f4c679dd918e23459a590099bcf6c1847afdfb02 Mon Sep 17 00:00:00 2001
From: lassulus <git@lassul.us>
Date: Mon, 6 Feb 2023 12:50:00 +0100
Subject: [PATCH] l aergia.r: fix xmodmap not running on startup

---
 lass/1systems/aergia/physical.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lass/1systems/aergia/physical.nix b/lass/1systems/aergia/physical.nix
index 6200bbfc5..93bf2a32e 100644
--- a/lass/1systems/aergia/physical.nix
+++ b/lass/1systems/aergia/physical.nix
@@ -109,7 +109,7 @@
 
   # keyboard quirks
   services.xserver.displayManager.sessionCommands = ''
-    xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert
+    ${pkgs.xorg.xmodmap}/bin/xmodmap -e 'keycode 96 = F12 Insert F12 F12' # rebind shift + F12 to shift + insert
   '';
   services.udev.extraHwdb = /* sh */ ''
     # disable back buttons