move video drivers into separate configs

This commit is contained in:
mir 2024-03-10 16:30:51 -08:00
parent 78197b5600
commit 13d7d36872
2 changed files with 7 additions and 4 deletions

View File

@ -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;

View File

@ -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;