added keyd for german symbols
This commit is contained in:
parent
8aef3a5bcf
commit
df288f0642
3 changed files with 25 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./autoupdate.nix
|
./autoupdate.nix
|
||||||
./garbage-collect.nix
|
./garbage-collect.nix
|
||||||
|
./keyd.nix
|
||||||
./optimise.nix
|
./optimise.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
23
hosts/common/keyd.nix
Normal file
23
hosts/common/keyd.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
services.keyd = {
|
||||||
|
enable = true;
|
||||||
|
keyboards.default = {
|
||||||
|
ids = [ "*" ];
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
rightalt = "overload(altgr, rightalt)";
|
||||||
|
capslock = "overload(control, esc)";
|
||||||
|
};
|
||||||
|
altgr = {
|
||||||
|
a = ''macro(compose a ")'';
|
||||||
|
o = ''macro(compose o ")'';
|
||||||
|
u = ''macro(compose u ")'';
|
||||||
|
s = ''macro(compose s s)'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -41,7 +41,7 @@
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
kb_variant = "";
|
kb_variant = "";
|
||||||
kb_model = "";
|
kb_model = "";
|
||||||
kb_options = "";
|
kb_options = "compose:menu";
|
||||||
kb_rules = "";
|
kb_rules = "";
|
||||||
|
|
||||||
follow_mouse = 1;
|
follow_mouse = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue