feat: refactor codes

feat: custom rime - disable full_shape punctuations
feat: remap capslock key
This commit is contained in:
Ryan Yin
2023-07-15 16:53:42 +08:00
parent 52c72bd45d
commit cf33721ec1
16 changed files with 43 additions and 162 deletions

View File

@@ -171,6 +171,19 @@
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
# A key remapping daemon for linux.
# https://github.com/rvaiya/keyd
services.keyd = {
enable = true;
settings = {
main = {
# overloads the capslock key to function as both escape (when tapped) and control (when held)
capslock = "overload(control, esc)";
};
};
};
services = {
dbus.packages = [ pkgs.gcr ];