From 1ba54c86fa0b5f6d0ea37b9497fb9a1222dd67a1 Mon Sep 17 00:00:00 2001 From: DarkGui Date: Tue, 18 Nov 2025 20:35:43 -0300 Subject: [PATCH] . --- nixos/conf/GM/Pkgs/pkgs.nix | 6 ++++- nixos/conf/GM/cfgeral/impcf.nix | 1 + nixos/conf/GM/cfgeral/udev.nix | 16 +++++++++++++ nixos/conf/HM/pkgs/pkgs.nix | 2 -- nixos/flake.lock | 42 ++++++++++++++++----------------- 5 files changed, 43 insertions(+), 24 deletions(-) create mode 100644 nixos/conf/GM/cfgeral/udev.nix diff --git a/nixos/conf/GM/Pkgs/pkgs.nix b/nixos/conf/GM/Pkgs/pkgs.nix index 39aa51e..3d85af3 100644 --- a/nixos/conf/GM/Pkgs/pkgs.nix +++ b/nixos/conf/GM/Pkgs/pkgs.nix @@ -29,7 +29,11 @@ #winboat gitFull kdePackages.partitionmanager - + usbutils + openrgb + winetricks + wineWowPackages.staging + ## inputs stable #inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system} ]; diff --git a/nixos/conf/GM/cfgeral/impcf.nix b/nixos/conf/GM/cfgeral/impcf.nix index b4b1c77..b1b51d9 100644 --- a/nixos/conf/GM/cfgeral/impcf.nix +++ b/nixos/conf/GM/cfgeral/impcf.nix @@ -13,5 +13,6 @@ ./zstd.nix ./fish.nix ./kernel.nix + ./udev.nix ]; } diff --git a/nixos/conf/GM/cfgeral/udev.nix b/nixos/conf/GM/cfgeral/udev.nix new file mode 100644 index 0000000..59aae7b --- /dev/null +++ b/nixos/conf/GM/cfgeral/udev.nix @@ -0,0 +1,16 @@ +{ config, lib, inputs, pkgs, ... }: { + + # OpenRGB setup + services.hardware.openrgb = { + enable = true; + motherboard = "amd"; + package = pkgs.openrgb-with-all-plugins; # enable all plugins + }; + services = { + udev.enable = true; + udev.extraRules = '' + KERNEL=="hidraw*", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="fa60", MODE="0666", SYMLINK+="xenta-mouse-hidraw" + KERNEL=="hidraw*", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="fa55", MODE="0666", SYMLINK+="xenta-mouse-hidraw" + ''; + }; +} diff --git a/nixos/conf/HM/pkgs/pkgs.nix b/nixos/conf/HM/pkgs/pkgs.nix index 868782a..85e82c8 100644 --- a/nixos/conf/HM/pkgs/pkgs.nix +++ b/nixos/conf/HM/pkgs/pkgs.nix @@ -40,8 +40,6 @@ python3 unrar droidcam - winetricks - wineWowPackages.staging ]; } \ No newline at end of file diff --git a/nixos/flake.lock b/nixos/flake.lock index 32545bb..a481ac6 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -29,11 +29,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1763413916, - "narHash": "sha256-KOr7YS7n+j9knjA03DUDtk6pRsx0LlFUYGBXjT6Kj3w=", + "lastModified": 1763467577, + "narHash": "sha256-tXQaLJV5IPRcgURDZ4I7fkKb61hhcLzJICJfiCWoNro=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "7cdf1116617e30f1e30163c7337907f65bb5309d", + "rev": "b544ed8dd16f58a9673238d31d171dedf9573886", "type": "github" }, "original": { @@ -185,11 +185,11 @@ ] }, "locked": { - "lastModified": 1762951919, - "narHash": "sha256-ma/xMEGf4J6n/RdZFdxXBJUQhP53HVEPQOC6Dp2TrkQ=", + "lastModified": 1763453666, + "narHash": "sha256-Hu8lDUlbMFvcYX30LBXX7Gq5FbU35bERH0pSX5qHf/Q=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "3d248f6e8f877218dd2573fef8925ac997889922", + "rev": "b843b551415c7aecc97c8b3ab3fff26fd0cd8bbf", "type": "github" }, "original": { @@ -254,11 +254,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1763421233, - "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", + "lastModified": 1763495643, + "narHash": "sha256-XK/F2RJYBnWNxVoHXfMsgU7XAJRHM4SBtf/b7C9+Cyw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", + "rev": "40d5fe7827fa34537708efe7bc75a4b407fba21a", "type": "github" }, "original": { @@ -269,11 +269,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1763049705, - "narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=", + "lastModified": 1763334038, + "narHash": "sha256-LBVOyaH6NFzQ3X/c6vfMZ9k4SV2ofhpxeL9YnhHNJQQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "3acb677ea67d4c6218f33de0db0955f116b7588c", + "rev": "4c8cdd5b1a630e8f72c9dd9bf582b1afb3127d2c", "type": "github" }, "original": { @@ -317,11 +317,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1763283776, - "narHash": "sha256-Y7TDFPK4GlqrKrivOcsHG8xSGqQx3A6c+i7novT85Uk=", + "lastModified": 1763421233, + "narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "50a96edd8d0db6cc8db57dab6bb6d6ee1f3dc49a", + "rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", "type": "github" }, "original": { @@ -339,11 +339,11 @@ ] }, "locked": { - "lastModified": 1763422451, - "narHash": "sha256-0hrrVl62bolcTlxgdMbvDqI3t7F/DOrfzPcs/biqE8Q=", + "lastModified": 1763495044, + "narHash": "sha256-kkvQSsyWBr/F48+ZNv6rB8F7tH+4MJ1FqSF3H50+gWI=", "owner": "nix-community", "repo": "NUR", - "rev": "748780ee1b02608ab1c37e8b83c673937c6ec785", + "rev": "06560dbad513c0bf67adc9f70ad43709ca3b5def", "type": "github" }, "original": { @@ -413,11 +413,11 @@ ] }, "locked": { - "lastModified": 1763353619, - "narHash": "sha256-y30wSzjr7QiO4OVB/Tt7dnLRLIuK2EpaftpKeMMLGu0=", + "lastModified": 1763457799, + "narHash": "sha256-33hJpIuqbn/PHf4VCZAktxDCUxnWLOtMAOyAFd75O9E=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "7463345c68cfdd9e92e2d40e390b1a802b0f2add", + "rev": "85bc80b9d8c8b22ed273163dd7c7adfad9287a5d", "type": "github" }, "original": {