mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nixos: make keyboard layout module opt-in
This commit is contained in:
parent
c94d573ad0
commit
80d9cd67ec
7 changed files with 6 additions and 4 deletions
19
nix/nixosModules/extra/layouts/default.nix
Normal file
19
nix/nixosModules/extra/layouts/default.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
services.xserver.xkb = {
|
||||
extraLayouts = {
|
||||
"myDvorak" = {
|
||||
languages = ["us"];
|
||||
symbolsFile = ./dvorak.xkb;
|
||||
description = "Leana's dvorak";
|
||||
};
|
||||
"myDvorakFrench" = {
|
||||
languages = ["fr"];
|
||||
symbolsFile = ./dvorak-french.xkb;
|
||||
description = "Leana's dvorak but baguette";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.xserver.xkb.layout = "myDvorak";
|
||||
console.useXkbConfig = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue