mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
added better amdgpu config for mauville
This commit is contained in:
parent
b3a3a64d11
commit
a855ca5610
|
@ -27,6 +27,20 @@
|
||||||
options = lib.mkForce "--delete-older-than 14d";
|
options = lib.mkForce "--delete-older-than 14d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
rocmPackages.clr.icd
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
amdvlk
|
||||||
|
];
|
||||||
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
# For 32 bit applications
|
||||||
|
hardware.opengl.extraPackages32 = with pkgs; [
|
||||||
|
driversi686Linux.amdvlk
|
||||||
|
];
|
||||||
|
|
||||||
services.xserver.displayManager.autoLogin.enable = true;
|
services.xserver.displayManager.autoLogin.enable = true;
|
||||||
services.xserver.displayManager.autoLogin.user = "aly";
|
services.xserver.displayManager.autoLogin.user = "aly";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue