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
+1
View File
@@ -15,6 +15,7 @@
./hardware/astro-a50.nix
./hardware/audio.nix
./hardware/gbmonctl.nix
./hardware/luci-keyboard.nix
./hardware/nvidia-proprietary.nix
./hardware/nvidia-nouveau.nix
./hardware/amdgpu.nix
+7
View File
@@ -56,6 +56,13 @@ in
no_break_fs_vrr = 1;
};
};
animation = {
leaf = "workspaces";
enabled = true;
speed = 1;
spring = "default";
style = "slidevert";
};
monitor = {
output = "DP-3";
mode = "3840x2160@144";
+18
View File
@@ -0,0 +1,18 @@
xkb_symbols "luci-keyboard"
{
include "de(basic)"
key <CAPS> {[backslash, bar]};
key <INS> {
type="ONE_LEVEL",
symbols[Group1] = [ bar ]
};
key <PGUP> {[braceleft]};
key <PGDN> {[braceright]};
key <HOME> {
type="ONE_LEVEL",
symbols[Group1] = [ at ]
};
key <END> {[asciitilde]};
};
+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;
};
};
};
}