Create 6 new NixOS modules to reduce duplication across system configs: - hardware/wooting: Wooting keyboard udev rules and Bluetooth compat - services/nginx-base: Common nginx server settings - services/acme-base: ACME certificate defaults - services/xremap: Key remapping with sensible defaults - system/no-sleep: Disable sleep/suspend/hibernate targets - system/kernel-tweaks: PM freeze timeout and zram configuration Update system configuration files to use these new modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
357 B
Nix
21 lines
357 B
Nix
{ ... }:
|
|
{
|
|
metacfg.services.xremap = {
|
|
enable = true;
|
|
deviceNames = [
|
|
"Hangsheng MonsGeek Keyboard"
|
|
"HS Galaxy100 Keyboard"
|
|
];
|
|
config = {
|
|
keymap = [
|
|
{
|
|
remap = {
|
|
LeftAlt-C = "COPY";
|
|
LeftAlt-V = "PASTE";
|
|
LeftAlt-X = "CUT";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|