From 13d7d36872aad60a3bebb193d6225c7f755e142b Mon Sep 17 00:00:00 2001 From: mir Date: Sun, 10 Mar 2024 16:30:51 -0800 Subject: [PATCH] move video drivers into separate configs --- configuration.nix | 8 ++++---- flake.nix | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index e89dee7..ab6afac 100644 --- a/configuration.nix +++ b/configuration.nix @@ -46,10 +46,10 @@ variant = ""; options = "caps_lock:esc"; }; - videoDrivers = [ - "displaylink" # broken - "modesetting" - ]; + # videoDrivers = [ + # "displaylink" # broken + # "modesetting" + # ]; # Enable the GNOME Desktop Environment. desktopManager = { xterm.enable = false; diff --git a/flake.nix b/flake.nix index 314a268..d9fd200 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,7 @@ specialArgs = { inherit inputs; }; modules = [ ./configuration.nix { + services.xserver.videoDrivers = [ "modesetting" ]; hardware.asahi = { peripheralFirmwareDirectory = ./galvatron/firmware; # useExperimentalGPUDriver = true; @@ -65,6 +66,7 @@ specialArgs = { inherit inputs; }; modules = [ ./configuration.nix { + services.xserver.videoDrivers = [ "modesetting" "displaylink" ]; networking.hostName = "starscream"; boot.loader.efi.canTouchEfiVariables = true; sound.enable = true; @@ -86,6 +88,7 @@ specialArgs = { inherit inputs; }; modules = [ ./configuration.nix { + services.xserver.videoDrivers = [ "modesetting" "displaylink" ]; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "knockout"; sound.enable = true;