From 347e33fa69a3bbad470d2f7f6adf465d212d8177 Mon Sep 17 00:00:00 2001 From: voidarclabs Date: Sat, 10 Jan 2026 11:55:00 +0000 Subject: [PATCH] removed hyprfloat, better usb management --- common.nix | 3 ++- configuration-pc.nix | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/common.nix b/common.nix index e9c32c9..0511a90 100644 --- a/common.nix +++ b/common.nix @@ -114,6 +114,8 @@ description = "user01"; extraGroups = [ "input" + "root" + "plugdev" "bluetooth" "networkmanager" "docker" @@ -139,7 +141,6 @@ carapace kitty github-cli - # light bluetuith wget playerctl diff --git a/configuration-pc.nix b/configuration-pc.nix index 1f7cb02..7f58d72 100644 --- a/configuration-pc.nix +++ b/configuration-pc.nix @@ -9,6 +9,19 @@ { networking.hostName = "HACKSTATION"; + # Enable nix-ld to run unpatched binaries + programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ + stdenv.cc.cc + zlib + libusb1 + ]; + + # Add Samsung USB udev rules + services.udev.extraRules = '' + SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev" + ''; + # Opengl and vulkan hardware.graphics = { enable = true; @@ -29,11 +42,15 @@ # Local User users.users.user01 = { - extraGroups = [ "docker" ]; + extraGroups = [ + "adbusers" + "docker" + ]; packages = with pkgs; [ bottles ferdium - inputs.hyprfloat.packages.${pkgs.system}.default + vesktop + wine64 delfin docker jellyfin-tui