Bind caps to escape
This commit is contained in:
parent
024231c491
commit
1efca15e68
1 changed files with 10 additions and 2 deletions
12
flake.nix
12
flake.nix
|
@ -111,13 +111,21 @@
|
||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Environment variables only for this user/session
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
PREFERRED_SHELL = "zsh";
|
PREFERRED_SHELL = "zsh";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Good HM hygiene
|
# Make sure Home Manager manages dconf
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
# GNOME input options (Wayland-safe)
|
||||||
|
dconf.settings = {
|
||||||
|
"org/gnome/desktop/input-sources" = {
|
||||||
|
xkb-options = [ "caps:escape" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue