From fceea68e91c06188ea1ed11d256d9cc898b38409 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Tue, 16 Sep 2025 18:30:58 +0400 Subject: [PATCH] laptop: bunch of changes add udev rule for fingerprint reader, enable extest for steamm add flatpak-kcm, fix IDEA wrapper to include required libraries, add plasma-panel-colorizer --- hosts/laptop/configuration.nix | 7 +++++++ hosts/laptop/home/default.nix | 22 +++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index a947b43..7657685 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -266,6 +266,7 @@ in enable = true; gamescopeSession.enable = true; remotePlay.openFirewall = true; + extest.enable = true; # dedicatedServer.openFirewall = true; }; @@ -363,6 +364,7 @@ in kdePackages.calendarsupport kdePackages.kdepim-addons kdePackages.akonadi-import-wizard + kdePackages.flatpak-kcm git git-crypt @@ -460,6 +462,11 @@ in }; services.fprintd.enable = true; + services.udev.extraRules = '' + ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="06cb", ATTR{idProduct}=="00bd", TEST=="power/control", ATTR{power/control}="on" + ''; + + services.fwupd.enable = true; hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; diff --git a/hosts/laptop/home/default.nix b/hosts/laptop/home/default.nix index 93797c6..60babdf 100644 --- a/hosts/laptop/home/default.nix +++ b/hosts/laptop/home/default.nix @@ -69,6 +69,7 @@ kdePackages.kgpg # for Application Title Bar plasmoid kdePackages.kconfig + plasma-panel-colorizer # messaging (discord.override { @@ -101,7 +102,26 @@ inherit pkgs; inputpkg = jetbrains.idea-community; pkgsuffix = "mcdev-jbr21"; - libraries = with pkgs; [libpulseaudio libGL glfw openal stdenv.cc.cc.lib]; + libraries = with pkgs; [ + (lib.getLib stdenv.cc.cc) + + glfw3-minecraft + openal + + alsa-lib + libjack2 + libpulseaudio + pipewire + + libGL + xorg.libX11 + xorg.libXcursor + xorg.libXext + xorg.libXrandr + xorg.libXxf86vm + udev + flite + ]; }) # (mylib.IDEAappwrapper { # inherit pkgs;