mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(xkb): add coptic, avestan, devanagari
This commit is contained in:
@@ -32,10 +32,6 @@
|
||||
"betacode" = pkgs.writers.writeDash "betacode" ''
|
||||
${scripts.betacode}/bin/betacode
|
||||
'';
|
||||
"devanagari" = pkgs.writers.writeDash "devanagari" ''
|
||||
${scripts.devanagari}/bin/devanagari
|
||||
'';
|
||||
"avesta" = pkgs.writeScript "avesta" (builtins.readFile <niveum/packages/scripts/avesta.sed>);
|
||||
"curl" = pkgs.writers.writeDash "curl" ''
|
||||
${pkgs.curl}/bin/curl -fSs "$(${pkgs.coreutils}/bin/cat)"
|
||||
'';
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
gr = "polytonic";
|
||||
ru = "phonetic";
|
||||
ara = "buckwalter";
|
||||
cop = "";
|
||||
ave = "";
|
||||
"in" = "san-kagapa";
|
||||
};
|
||||
defaultLanguage = "de";
|
||||
in {
|
||||
@@ -22,6 +25,28 @@ in {
|
||||
xkbOptions =
|
||||
commaSep xkbOptions;
|
||||
libinput.enable = true;
|
||||
xkbDir = pkgs.symlinkJoin {
|
||||
name = "x-keyboard-directory";
|
||||
paths = [
|
||||
"${pkgs.xkeyboard_config}/etc/X11/xkb"
|
||||
(pkgs.linkFarm "custom-x-keyboards" [
|
||||
{
|
||||
name = "symbols/cop";
|
||||
path = pkgs.fetchurl {
|
||||
url = "http://www.moheb.de/download/cop";
|
||||
sha256 = "1l0h6aq536hyinrh0i0ia355y229bjrlibii0sya5bmqh46vycia";
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "symbols/ave";
|
||||
path = pkgs.fetchurl {
|
||||
url = "https://blog.simos.info/wp-content/uploads/2010/06/avestan.txt";
|
||||
sha256 = "192zmmm3gxyhim39dsax7r87gsay2w5v2xkhwmvsfipjb60hwp5g";
|
||||
};
|
||||
}
|
||||
])
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
console.keyMap = "de";
|
||||
|
||||
Reference in New Issue
Block a user