From acbe87ff33ad89d8ee371e70555acbf0385687d6 Mon Sep 17 00:00:00 2001 From: Tristan Date: Tue, 16 Jan 2024 14:01:46 +0000 Subject: [PATCH] fix keyboard on laptop --- hardware/fcs-tristan-nixbook.nix | 2 +- hardware/zenix.nix | 6 ------ home/programs/hyprland.nix | 4 ++++ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/hardware/fcs-tristan-nixbook.nix b/hardware/fcs-tristan-nixbook.nix index 963b6b5..e8973ae 100644 --- a/hardware/fcs-tristan-nixbook.nix +++ b/hardware/fcs-tristan-nixbook.nix @@ -86,7 +86,7 @@ in { home.stateVersion = "22.05"; wayland.windowManager.hyprland.settings = { - input = { + "device:at-translated-set-2-keyboard" = { kb_variant = "dvorak,"; kb_layout = "gb,gb"; kb_options = "grp:alt_shift_toggle,caps:escape"; diff --git a/hardware/zenix.nix b/hardware/zenix.nix index d547c00..3fa81bb 100644 --- a/hardware/zenix.nix +++ b/hardware/zenix.nix @@ -83,12 +83,6 @@ in { workspace = 4, monitor:DP-1 workspace = 5, monitor:DP-1 ''; - settings = { - "device:zsa-technology-labs-moonlander-mark-i" = { - kb_variant = ""; - kb_options = "esperanto:qwerty,lv3:ralt_switch"; - }; - }; }; } ]; diff --git a/home/programs/hyprland.nix b/home/programs/hyprland.nix index 919cb55..3de6c00 100644 --- a/home/programs/hyprland.nix +++ b/home/programs/hyprland.nix @@ -30,6 +30,10 @@ in { kb_layout = lib.mkDefault "gb"; numlock_by_default = true; }; + "device:zsa-technology-labs-moonlander-mark-i" = { + kb_variant = ""; + kb_options = "esperanto:qwerty,lv3:ralt_switch"; + }; gestures = { workspace_swipe = true; workspace_swipe_numbered = true;