modules/nix/services: add keyd

This commit is contained in:
Anthony Rodriguez 2025-01-15 14:55:03 +01:00
parent c846cc95ae
commit d7356d3fde
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 19 additions and 0 deletions

View file

@ -8,6 +8,7 @@
./gnome.nix
./gnupg.nix
./greetd.nix
./keyd.nix
./kmscon.nix
./location.nix
./logind.nix

View file

@ -0,0 +1,18 @@
{
lib,
pkgs,
config,
...
}: {
config = lib.mkIf config.local.profiles.desktop.enable {
services.keyd = {
enable = true;
keyboards.default = {
ids = ["*"];
settings.main = {
capslock = "overload(control, esc)";
};
};
};
};
}