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