diff --git a/shared/core/gui.nix b/shared/core/gui.nix index 92ef09d..2c2f326 100644 --- a/shared/core/gui.nix +++ b/shared/core/gui.nix @@ -12,7 +12,6 @@ in { config = lib.mkIf (cfg.enable) { hardware.opengl.enable = true; - hardware.nvidia.modesetting.enable = true; security.rtkit.enable = true; @@ -21,7 +20,6 @@ in { services.xserver = { enable = true; displayManager.gdm.enable = true; - videoDrivers = [ "nvidia" ]; }; services.pipewire = { diff --git a/system/strawberry/core.nix b/system/strawberry/core.nix index 46ccc7a..33ab96c 100644 --- a/system/strawberry/core.nix +++ b/system/strawberry/core.nix @@ -47,4 +47,8 @@ swapDevices = [ { device = "/dev/nixos/swap"; } ]; + + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia.modesetting.enable = true; + }