add hardware support

This commit is contained in:
k3t
2026-07-24 06:42:22 -06:00
parent 8400da57ba
commit ed51eb5613
5 changed files with 47 additions and 16 deletions
Generated
+16 -16
View File
@@ -37,11 +37,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1783963347, "lastModified": 1784407317,
"narHash": "sha256-r376E2XpakiXwModDHIxlvB6qLq4iFVEq730vxOO4JY=", "narHash": "sha256-iZrxHToDJWnvt+5LGAtvuQMTy1NZYlNEKbKaVtBJNcc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a45a7c451455a51ae740ec3bce4024b312809c29", "rev": "39411a8e12a5526d992e65bc7e3dc9a4414d6713",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -115,11 +115,11 @@
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1783792734, "lastModified": 1784310968,
"narHash": "sha256-50rvY9GdFvpYDcMLcD/4cWSi0hVxArT5wsGlVsHy8eY=", "narHash": "sha256-rkSPTePrKqs4dg+i7ZFCq93+HrClac6oSwXX927SVjA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "8efb4337e857949f4cfac86d12ef1066f417f31f", "rev": "779c32a00155994c86cde8213a8dd4df139d4355",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -207,11 +207,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1784007870, "lastModified": 1784356753,
"narHash": "sha256-djcLt/JJphyNt4eDY9XTly+/WbCK5lqWq9lSgCmJkkQ=", "narHash": "sha256-12KrbMiWLcf8m7pCvAtZh1ZrgF85ZXDXvfR/fWTKy84=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18b9261cb3294b6d2a06d03f96872827b8fe2698", "rev": "61b7c44c4073f0b827768aff0049561b5110ea5a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -223,11 +223,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1783776592, "lastModified": 1784356753,
"narHash": "sha256-+GVwKnbbSmf4cWMJyRzvw8H5yFknmkLoPD5v6snqPzo=", "narHash": "sha256-zupdTm41be2fY8cexroEOGjopl3F2Gqs3gk7ieqaM3s=",
"rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3", "rev": "61b7c44c4073f0b827768aff0049561b5110ea5a",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1032869.e7a3ca8092b6/nixexprs.tar.xz" "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1036777.61b7c44c4073/nixexprs.tar.xz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -250,11 +250,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1783838433, "lastModified": 1784442826,
"narHash": "sha256-Zb8+v76qSPYDlUea1y30YzgdEoDjA97vRmeqfPAqwZs=", "narHash": "sha256-oXizZ5p9MdNicgEPw7mkZD0gezVlCbgeG6aAjXpDyHA=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "c6ab7371e40abd405313af9bddafd5f37cc94f83", "rev": "47c9223179f533174b719a53209aa9ab3e2f4e9c",
"type": "github" "type": "github"
}, },
"original": { "original": {
+7
View File
@@ -1,5 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
hardware.amdgpu = {
zluda.enable = true;
opencl.enable = true;
initrd.enable = true;
};
services.lact.enable = true; services.lact.enable = true;
nixpkgs.config.rocmSupport = true; nixpkgs.config.rocmSupport = true;
+6
View File
@@ -0,0 +1,6 @@
{
hardware.keyboard.qmk = {
enable = true;
keychronSupport = true;
};
}
+6
View File
@@ -0,0 +1,6 @@
{
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;
};
}
+12
View File
@@ -0,0 +1,12 @@
{
hardware = {
xone.enable = true;
xpad-noone.enable = true;
xpadneo = {
enable = true;
settings = {
disable_deadzones = 1;
};
};
};
}