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
|
@ -17,7 +17,7 @@ in {
|
||||
};
|
||||
users.groups.musikspider = {};
|
||||
|
||||
systemd.services.musikspider= {
|
||||
systemd.services.musikspider = {
|
||||
description = "musikspider";
|
||||
wantedBy = ["multi-user.target"];
|
||||
after = ["network.target"];
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -17,7 +17,6 @@ in {
|
||||
./hm-system-defaults.nix
|
||||
];
|
||||
|
||||
console.font = "7x14";
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
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";
|
||||
};
|
||||
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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user