module fixup, xserver, graphics etc

This commit is contained in:
cnst
2024-10-01 17:32:05 +02:00
parent 98f42a3ecd
commit c33bd61836
13 changed files with 108 additions and 204 deletions

View File

@@ -11,7 +11,6 @@ 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,10 +29,6 @@ in {
};
config = mkIf cfg.enable {
services.xserver = {
videoDrivers = ["nvidia"];
xkb.layout = "se";
};
environment.systemPackages = with pkgs; [
egl-wayland
];