mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
inital install and config of keyd
This commit is contained in:
parent
072005e78c
commit
40d2d497dd
@ -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
|
||||
|
21
provision/modules/desktop/keyd.nix
Normal file
21
provision/modules/desktop/keyd.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user