flocon/modules/nix/services/keyd.nix

19 lines
296 B
Nix
Raw Permalink Normal View History

2025-01-15 13:55:03 +00:00
{
lib,
pkgs,
config,
...
}: {
config = lib.mkIf config.local.profiles.desktop.enable {
services.keyd = {
enable = true;
keyboards.default = {
ids = ["*"];
settings.main = {
capslock = "overload(control, esc)";
};
};
};
};
}