minor fixes

This commit is contained in:
cnst
2024-09-30 20:25:08 +02:00
parent 1d334bada1
commit af32037f5d
3 changed files with 11 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ in {
modules.hardware.graphics.amd.enable = mkEnableOption "Enables AMD graphics";
};
config = mkIf cfg.enable {
services.xserver.videoDrivers = ["amdgpu"];
hardware = {
graphics = {
enable = true;

View File

@@ -29,6 +29,7 @@ in {
};
config = mkIf cfg.enable {
services.xserver.videoDrivers = ["nvidia"];
environment.systemPackages = with pkgs; [
egl-wayland
];