feat(hyprland): Add fix for Apple Magic Keyboard

Apple Magic Keyboard has F13-F15 as a replacement for SysRq, Scr lk and
Pause. Some other keys also have issues (eg: numpad enter). This change
adds the XKB option for AMKB "apple:alupckeys" which emulates PC keys
instead of Mac keys.

Change-Id: Ia4a1b7d6963060cf508582a84ca4fa46a0b47efe
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/820
Reviewed-by: Skyler Grey <minion@clicks.codes>
Tested-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/home/wayland/hyprland/default.nix b/modules/home/wayland/hyprland/default.nix
index 6b7061d..f8a96cc 100644
--- a/modules/home/wayland/hyprland/default.nix
+++ b/modules/home/wayland/hyprland/default.nix
@@ -33,6 +33,7 @@
         default = [ ];
       };
       keybinds = {
+        appleMagic = lib.mkEnableOption "Emulate PC keys on Apple Magic Keyboard";
         volumeStep = lib.mkOption {
           type = lib.types.int;
           description = "Amount to increase volume by when media keys are pressed in %";
@@ -143,6 +144,7 @@
             kb_variant =
               lib.mkIf (config.chimera.input.keyboard.variant != null)
                 config.chimera.input.keyboard.variant;
+            kb_options = lib.mkIf (config.chimera.hyprland.keybinds.appleMagic) "apple:alupckeys";
             natural_scroll = config.chimera.input.mouse.scrolling.natural;
 
             numlock_by_default = true;