mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-10-04 04:31:54 +00:00
feat: luci stuff
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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]};
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user