add keychron keyboard
This commit is contained in:
parent
7899b924cd
commit
7ac9ae504d
1
hosts/tkaronto/modules/keychron-v4.nix
Symbolic link
1
hosts/tkaronto/modules/keychron-v4.nix
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../modules/keyboards/keychron-v4/default.nix
|
@ -4,6 +4,6 @@
|
|||||||
supportedLocales = ["en_US.UTF-8/UTF-8" "tr_TR.UTF-8/UTF-8"];
|
supportedLocales = ["en_US.UTF-8/UTF-8" "tr_TR.UTF-8/UTF-8"];
|
||||||
};
|
};
|
||||||
time.timeZone = "Turkey";
|
time.timeZone = "Turkey";
|
||||||
services.xserver.layout = "tr";
|
services.xserver.layout = "us";
|
||||||
console.keyMap = "trq";
|
console.keyMap = "us";
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,6 @@ in {
|
|||||||
./hm-system-defaults.nix
|
./hm-system-defaults.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
console.font = "7x14";
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
binutils
|
binutils
|
||||||
|
3
modules/keyboards/keychron-v4/default.nix
Normal file
3
modules/keyboards/keychron-v4/default.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
hardware.keyboard.qmk.enable = true;
|
||||||
|
}
|
@ -82,9 +82,12 @@
|
|||||||
"XF86MonBrightnessDown" = "exec ${light} -T 0.72";
|
"XF86MonBrightnessDown" = "exec ${light} -T 0.72";
|
||||||
};
|
};
|
||||||
input = {
|
input = {
|
||||||
"type:keyboard" = {
|
"13364:832:Keychron_Keychron_V4_Keyboard" = {
|
||||||
xkb_layout = nixosConfig.services.xserver.layout;
|
xkb_layout = nixosConfig.services.xserver.layout;
|
||||||
};
|
};
|
||||||
|
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||||
|
xkb_layout = "tr";
|
||||||
|
};
|
||||||
"type:pointer" = {
|
"type:pointer" = {
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user