mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
move keyboard files to config
This commit is contained in:
@@ -12,3 +12,6 @@
|
|||||||
> das ist ja pure poesie —[riotbib](https://github.com/riotbib/)
|
> das ist ja pure poesie —[riotbib](https://github.com/riotbib/)
|
||||||
|
|
||||||
> Deine Configs sind wunderschön <3 —[flxai](https://github.com/flxai/)
|
> Deine Configs sind wunderschön <3 —[flxai](https://github.com/flxai/)
|
||||||
|
|
||||||
|
## To do
|
||||||
|
- [ ] `services.xserver.xkb.extraLayouts`
|
||||||
|
|||||||
@@ -215,10 +215,9 @@ in
|
|||||||
./uni.nix
|
./uni.nix
|
||||||
./i3.nix
|
./i3.nix
|
||||||
./i3status-rust.nix
|
./i3status-rust.nix
|
||||||
./keyboard.nix
|
./keyboard
|
||||||
./mycelium.nix
|
./mycelium.nix
|
||||||
./kdeconnect.nix
|
./kdeconnect.nix
|
||||||
{ home-manager.users.me.home.file.".XCompose".source = ../lib/keyboards/XCompose; }
|
|
||||||
{ services.upower.enable = true; }
|
{ services.upower.enable = true; }
|
||||||
./lb.nix
|
./lb.nix
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
|
|||||||
@@ -27,10 +27,10 @@ let
|
|||||||
arabic = {
|
arabic = {
|
||||||
code = "ara";
|
code = "ara";
|
||||||
variant = "buckwalter";
|
variant = "buckwalter";
|
||||||
}; # ../lib/keyboards/arabic;
|
};
|
||||||
coptic = ../lib/keyboards/coptic;
|
coptic = ./coptic;
|
||||||
avestan = ../lib/keyboards/avestan;
|
avestan = ./avestan;
|
||||||
gothic = ../lib/keyboards/gothic;
|
gothic = ./gothic;
|
||||||
farsi = {
|
farsi = {
|
||||||
code = "ir";
|
code = "ir";
|
||||||
variant = "qwerty";
|
variant = "qwerty";
|
||||||
@@ -81,7 +81,7 @@ in
|
|||||||
++ [
|
++ [
|
||||||
{
|
{
|
||||||
name = "symbols/ir";
|
name = "symbols/ir";
|
||||||
path = ../lib/keyboards/farsi;
|
path = ./farsi;
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
))
|
))
|
||||||
@@ -93,10 +93,15 @@ in
|
|||||||
|
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
home.file =
|
home.file =
|
||||||
lib.mapAttrs' (name: path: lib.nameValuePair ".xkb/symbols/${name}" { source = path; })
|
lib.mapAttrs' (name: path: lib.nameValuePair ".xkb/symbols/${name}" { source = path; }) (
|
||||||
(lib.filterAttrs (_: value: !(value ? "code")) languages) // {
|
lib.filterAttrs (_: value: !(value ? "code")) languages
|
||||||
".xkb/symbols/ir".source = ../lib/keyboards/farsi;
|
)
|
||||||
};
|
// {
|
||||||
|
".xkb/symbols/ir".source = ./farsi;
|
||||||
|
}
|
||||||
|
// {
|
||||||
|
".XCompose".source = ./XCompose;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
@@ -91,7 +91,22 @@ in
|
|||||||
lib.filterAttrs (_: v: v ? "syncthingId") systems
|
lib.filterAttrs (_: v: v ? "syncthingId") systems
|
||||||
);
|
);
|
||||||
|
|
||||||
email = import ./email.nix;
|
email =
|
||||||
|
let
|
||||||
|
thunderbirdProfile = "donnervogel";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
inherit thunderbirdProfile;
|
||||||
|
defaults = {
|
||||||
|
thunderbird = {
|
||||||
|
enable = true;
|
||||||
|
profiles = [ thunderbirdProfile ];
|
||||||
|
};
|
||||||
|
aerc.enable = true;
|
||||||
|
realName = "Kierán Meinhardt";
|
||||||
|
folders.inbox = "INBOX";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systems = systems;
|
systems = systems;
|
||||||
|
|
||||||
@@ -99,6 +114,17 @@ in
|
|||||||
github = "kmein";
|
github = "kmein";
|
||||||
email = "kmein@posteo.de";
|
email = "kmein@posteo.de";
|
||||||
name = "Kierán Meinhardt";
|
name = "Kierán Meinhardt";
|
||||||
|
pronouns = builtins.concatStringsSep "/" [
|
||||||
|
"er"
|
||||||
|
"he"
|
||||||
|
"is"
|
||||||
|
"οὗτος"
|
||||||
|
"هو"
|
||||||
|
"ⲛ̄ⲧⲟϥ"
|
||||||
|
"он"
|
||||||
|
"han"
|
||||||
|
"सः"
|
||||||
|
];
|
||||||
sshKeys = [
|
sshKeys = [
|
||||||
systems.fatteh.sshKey
|
systems.fatteh.sshKey
|
||||||
systems.manakish.sshKey
|
systems.manakish.sshKey
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
let
|
|
||||||
thunderbirdProfile = "donnervogel";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit thunderbirdProfile;
|
|
||||||
pronouns = builtins.concatStringsSep "/" [
|
|
||||||
"er"
|
|
||||||
"he"
|
|
||||||
"is"
|
|
||||||
"οὗτος"
|
|
||||||
"هو"
|
|
||||||
"ⲛ̄ⲧⲟϥ"
|
|
||||||
"он"
|
|
||||||
"han"
|
|
||||||
"सः"
|
|
||||||
];
|
|
||||||
defaults = {
|
|
||||||
thunderbird = {
|
|
||||||
enable = true;
|
|
||||||
profiles = [ thunderbirdProfile ];
|
|
||||||
};
|
|
||||||
aerc.enable = true;
|
|
||||||
realName = "Kierán Meinhardt";
|
|
||||||
folders.inbox = "INBOX";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
// Arabic keyboard using Buckwalter transliteration
|
|
||||||
// http://www.qamus.org/transliteration.htm
|
|
||||||
// Martin Vidner
|
|
||||||
// stolen from https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/blob/2505a3ec2605ea7303bc6de68acf96578f0fd424/symbols/ara#L179
|
|
||||||
|
|
||||||
// TODO 06CC ARABIC LETTER FARSI YEH
|
|
||||||
|
|
||||||
default partial alphanumeric_keys
|
|
||||||
xkb_symbols "buckwalter" {
|
|
||||||
include "ara(buckwalter)"
|
|
||||||
name[Group1] = "Arabic (Buckwalter + Persian)";
|
|
||||||
|
|
||||||
key <AE09> {[ 0x1000669, parenleft ] };
|
|
||||||
key <AE10> {[ 0x1000660, parenright ] };
|
|
||||||
key <AD10> {[ Arabic_tehmarbuta, 0x100067E ] }; // پ
|
|
||||||
key <AD11> {[ 0x100200C, 0x1000671 ] }; // alif wasla, ZWNJ
|
|
||||||
key <AD12> {[ 0x10006C0, Arabic_hamzaonyeh ] }; // ۀ
|
|
||||||
key <AC05> {[ Arabic_ghain, 0x10006AF ] }; // گ
|
|
||||||
key <AC07> {[ Arabic_jeem, 0x1000686 ] }; // چ
|
|
||||||
key <AB03> {[ 0x10006A9, 0x1000698 ] }; // ک ژ
|
|
||||||
key <AB04> {[ Arabic_theh, 0x10006A4 ] }; // ڤ
|
|
||||||
key <AB09> {[ period, Arabic_hamzaonalef ] };
|
|
||||||
};
|
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../configs/spacetime.nix
|
../../configs/spacetime.nix
|
||||||
../../configs/admin-essentials.nix
|
../../configs/admin-essentials.nix
|
||||||
../../configs/keyboard.nix
|
../../configs/keyboard
|
||||||
../../configs/sound.nix
|
../../configs/sound.nix
|
||||||
../../configs/printing.nix
|
../../configs/printing.nix
|
||||||
../../configs/nix.nix
|
../../configs/nix.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user