First test

This commit is contained in:
2025-11-20 20:48:23 +01:00
parent 877b8fbb35
commit 17841a26a5
4 changed files with 26 additions and 692 deletions

View File

@@ -1,37 +1,15 @@
{ inputs, ... }:
{
imports = [ inputs.xremap-flake.nixosModules.default ];
imports = [ inputs.kmonad.nixosModules.default ];
services.xremap = {
withHypr = true;
userName = "jonas";
config = {
modmap = [
{
name = "Capslock to esc and ctrl";
remap = {
"CAPSLOCK" = {
"alone" = "ESC";
"held" = "CTRL_L";
};
"ESC" = "CAPSLOCK";
};
}
{
name = "Switch super and alt";
remap = {
"SUPER_L" = {
"alone" = "ALT_L";
"held" = "ALT_L";
};
"ALT_L" = {
"alone" = "SUPER_L";
"held" = "SUPER_L";
};
};
}
];
services.kmonad = {
enable = true;
keyboards = {
myKMonadOutput = {
device = "/dev/input/by-id/usb-HyperX_Alloy_Elite_RGB_HyperX_Alloy_Elite_RGB-event-kbd";
config = builtins.readFile ./config.kbd;
};
};
};
}