modules/nix/services: add keyd
This commit is contained in:
parent
c846cc95ae
commit
d7356d3fde
2 changed files with 19 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
./gnome.nix
|
||||
./gnupg.nix
|
||||
./greetd.nix
|
||||
./keyd.nix
|
||||
./kmscon.nix
|
||||
./location.nix
|
||||
./logind.nix
|
||||
|
|
18
modules/nix/services/keyd.nix
Normal file
18
modules/nix/services/keyd.nix
Normal 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)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue