mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-09-08 07:54:40 +00:00
feat: luci stuff
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
mfact = 0.65;
|
||||
always_keep_position = true;
|
||||
};
|
||||
input.kb_options = "lv3:caps_switch";
|
||||
};
|
||||
monitor = [
|
||||
{
|
||||
|
||||
@@ -60,15 +60,11 @@
|
||||
locale.preset.theaninova.enable = true;
|
||||
|
||||
services.xserver = {
|
||||
xkb = {
|
||||
#variant = "altgr-intl";
|
||||
#layout = "us";
|
||||
layout = "de";
|
||||
};
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
|
||||
services.airprint.enable = true;
|
||||
services.languagetool.enable = true;
|
||||
|
||||
hardware = {
|
||||
q3279vwf.enable = true;
|
||||
@@ -83,7 +79,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
cc1.enable = true;
|
||||
luci-keyboard.enable = true;
|
||||
|
||||
nvidia.preset.proprietary.enable = true;
|
||||
|
||||
@@ -178,6 +174,7 @@
|
||||
nfs-utils
|
||||
opensc
|
||||
openssl
|
||||
github-copilot-cli
|
||||
# secure boot / tmp2
|
||||
sbctl
|
||||
tpm2-tss
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
})
|
||||
];
|
||||
};
|
||||
wayland.windowManager.hyprland.settings.config.input.kb_options = "lv3:caps_switch";
|
||||
services.nextcloud-client.enable = true;
|
||||
systemd.user.services = {
|
||||
nm-applet = {
|
||||
|
||||
@@ -53,6 +53,8 @@
|
||||
# development
|
||||
ghidra
|
||||
kdePackages.kate
|
||||
tinymist
|
||||
typewriter
|
||||
|
||||
# utils
|
||||
kdePackages.ark
|
||||
|
||||
@@ -49,5 +49,3 @@ hl.animation({ leaf = "border", enabled = true, speed = 1, spring = "default" })
|
||||
hl.animation({ leaf = "fade", enabled = true, speed = 3, bezier = "linear" })
|
||||
hl.animation({ leaf = "fadeShadow", enabled = true, speed = 4, bezier = "linear" })
|
||||
hl.animation({ leaf = "fadeDim", enabled = true, speed = 4, bezier = "linear" })
|
||||
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 1, spring = "default", style = "slidevert" })
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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