From 62b7e887099a50c14bb3e546f712a51851f9ae38 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 16 May 2024 15:53:43 -0400 Subject: [PATCH] feat(hyprland): add keyd config --- modules/hyprland.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 4b7d116..a8ed061 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -35,6 +35,17 @@ # Required for Nautilus to work outside GNOME services.gvfs.enable = true; + # Use CAPSLOCK as Hyper key + services.keyd = { + enable = true; + keyboards.default = { + ids = ["*"]; + settings.main = { + capslock = "overload(meta, esc)"; + }; + }; + }; + services.greetd = { enable = true; settings = {