updates, add gintent command

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-10-16 00:06:31 -05:00
parent ac729a4b10
commit 38f18d807a
5 changed files with 20 additions and 62 deletions

View file

@ -10,9 +10,6 @@
# Users this machine has
(settings.usersDir + "/root/configuration.nix")
(settings.usersDir + "/josh/configuration.nix")
# Our custom stuff
# ./stupid-keyboard.nix
# ./stupid-keyboard-2.nix
];
# My custom modules
@ -79,7 +76,7 @@
"nvme"
"xhci_pci"
"usbhid"
"thunderbolt"
"thuFryuni/PolyMC/developnderbolt"
];
services.xserver.videoDrivers = [ "intel" ];
hardware.opengl = {

View file

@ -1,18 +0,0 @@
{ ... }:
{
services.keyd = {
enable = true;
# `keyd monitor` to get new keys to remap
keyboards = {
rgo_sino_keyboard = {
ids = [ "04e8:7021" ];
settings = {
main = {
"up" = "/";
"/" = "up";
};
};
};
};
};
}

View file

@ -1,34 +0,0 @@
# This nix file is just a fix for a really stupid lay-outed keyboard I bought that I
# only use with the gpd pocket 3. Probably not relevant to anyone else
#
# Keyboard in question: https://www.walmart.com/ip/R-Go-Split-Ergonomic-Keyboard-QWERTY-US-Black-Wired-USB-Keyboard-Spilt-Wired-Windows-Linux/452297950
# R-Go Split Break Keyboard (maybe the walmart one is a fake since their real site does not have the same layout)
# https://www.r-go-tools.com/ergonomic-keyboard/r-go-split-break/
{ ... }:
let
rgo_keyboard_vid = "0911";
rgo_keyboard_pid = "2188";
rgo_hub_vid = "05e3";
rgo_hub_pid = "0608";
in
{
services.keyd = {
enable = true;
# `keyd monitor` to get new keys to remap
keyboards = {
rgo_sino_keyboard = {
ids = [ "0911:2188" "05e3:0608" ];
settings = {
main = {
# Backslash is in place of the enter key's normal position, so setting it to enter
"\\" = "enter";
# This keyboard has a strange extra key that outputs < and > characters. It has the
# backslash key printed on it though, conveniently, so we will just map this to backslash
# since it does not affect how I use left shift (which it takes half the space of)
"102nd" = "\\";
};
};
};
};
};
}