add another update

This commit is contained in:
kp2pml30 2026-02-11 21:44:06 +09:00
parent 68a4779107
commit 96e942d8ac
Signed by: kp2pml30
GPG key ID: CD6528BAC23E3E34
15 changed files with 206 additions and 91 deletions

View file

@ -7,7 +7,7 @@
{
imports = [
./common.nix
# ./nvidia.nix
./nvidia.nix
];
fileSystems."/" = {
@ -37,6 +37,7 @@
environment.systemPackages = with pkgs; [
exfat
pciutils
];
hardware.cpu.amd.updateMicrocode = true;
@ -53,20 +54,22 @@
graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
];
extraPackages32 = with pkgs; [
];
};
amdgpu.amdvlk = {
enable = true;
support32Bit.enable = true;
nvidia.prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
nvidiaBusId = "PCI:5:0:0";
amdgpuBusId = "PCI:198:0:0";
};
opengl.extraPackages = with pkgs; [
amdvlk
];
opengl.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
networking = {