add keychron keyboard

This commit is contained in:
dusk 2023-05-11 14:14:41 +03:00
parent 7899b924cd
commit 7ac9ae504d
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
6 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1 @@
../../../modules/keyboards/keychron-v4/default.nix

View File

@ -17,7 +17,7 @@ in {
};
users.groups.musikspider = {};
systemd.services.musikspider= {
systemd.services.musikspider = {
description = "musikspider";
wantedBy = ["multi-user.target"];
after = ["network.target"];

View File

@ -4,6 +4,6 @@
supportedLocales = ["en_US.UTF-8/UTF-8" "tr_TR.UTF-8/UTF-8"];
};
time.timeZone = "Turkey";
services.xserver.layout = "tr";
console.keyMap = "trq";
services.xserver.layout = "us";
console.keyMap = "us";
}

View File

@ -17,7 +17,6 @@ in {
./hm-system-defaults.nix
];
console.font = "7x14";
environment = {
systemPackages = with pkgs; [
binutils

View File

@ -0,0 +1,3 @@
{
hardware.keyboard.qmk.enable = true;
}

View File

@ -82,9 +82,12 @@
"XF86MonBrightnessDown" = "exec ${light} -T 0.72";
};
input = {
"type:keyboard" = {
"13364:832:Keychron_Keychron_V4_Keyboard" = {
xkb_layout = nixosConfig.services.xserver.layout;
};
"1:1:AT_Translated_Set_2_keyboard" = {
xkb_layout = "tr";
};
"type:pointer" = {
accel_profile = "flat";
};