feat: luci stuff

This commit is contained in:
2026-07-06 10:21:34 +02:00
parent 4ec11e92ab
commit 7b705fd938
9 changed files with 64 additions and 10 deletions
+33
View File
@@ -0,0 +1,33 @@
{
pkgs,
lib,
config,
username,
...
}:
with lib;
let
cfg = config.hardware.luci-keyboard;
in
{
options.hardware.luci-keyboard = {
enable = mkEnableOption "Enable Luci Keyboard Layout";
};
config = mkIf cfg.enable {
home-manager.users."${username}".xdg.configFile."xkb/symbols/luci-keyboard".source =
./luci-keyboard;
console.useXkbConfig = true;
services.xserver.xkb = {
layout = "luci-keyboard";
extraLayouts.luci-keyboard = {
description = "Luci's optimized layout";
languages = [
"ger"
];
symbolsFile = ./luci-keyboard;
};
};
};
}