bind caps lock to escape

closes #26
This commit is contained in:
Pim Kunis 2023-11-01 16:02:49 +01:00
parent 6c93763b3e
commit 93f79c080f

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, lib, config, ... }:
{ {
imports = [ imports = [
@ -69,4 +69,11 @@
}; };
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
dconf.settings = with lib.hm.gvariant; {
"org/gnome/desktop/input-sources" = {
sources = [ (mkTuple [ "xkb" "us" ]) ];
xkb-options = [ "terminate:ctrl_alt_bksp" "caps:escape" ];
};
};
} }