inital install and config of keyd

This commit is contained in:
Tyler Starr 2024-04-08 20:36:24 -07:00
parent 072005e78c
commit 40d2d497dd
2 changed files with 22 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ config, lib, pkgs, user, inputs, ... }:
{
imports = [ ./browser.nix ./gnome.nix ./sway.nix ];
imports = [ ./keyd.nix ./browser.nix ./gnome.nix ./sway.nix ];
environment.systemPackages = with pkgs; [
bc

View File

@ -0,0 +1,21 @@
{ config, lib, pkgs, user, inputs, ... }:
{
services.keyd = {
enable = true;
keyboards.true = {
ids = [ "*" ];
settings = {
main = {
capslock = "overload(meta, esc)";
leftalt = "layer(alt)";
};
alt = {
h = "left";
j = "down";
k = "up";
l = "right";
};
};
};
};
}