From 571e1daa82b958787a2e8afaa2a1ebe1ff880d5f Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Sat, 17 Jun 2023 12:51:34 +0200 Subject: [PATCH] Disable vulkan in sway --- shared/home/gui/sway.nix | 8 ++++---- system/lime/configuration.nix | 6 +++--- system/lime/core.nix | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/shared/home/gui/sway.nix b/shared/home/gui/sway.nix index 590f69f..20a9ef9 100644 --- a/shared/home/gui/sway.nix +++ b/shared/home/gui/sway.nix @@ -54,11 +54,11 @@ in with lib; { enable = true; wrapperFeatures.gtk = true; extraSessionCommands = '' - export WLR_NO_HARDWARE_CURSORS=1; - export WLR_RENDERER=vulkan; - export WLR_EGL_NO_MODIFIERS=1; + #export WLR_NO_HARDWARE_CURSORS=1; + #export WLR_RENDERER=vulkan; + #export WLR_EGL_NO_MODIFIERS=1; ''; - extraOptions = [ "--unsupported-gpu" ]; + #extraOptions = [ "--unsupported-gpu" ]; systemdIntegration = true; extraConfig = '' diff --git a/system/lime/configuration.nix b/system/lime/configuration.nix index eab4ead..d11c5f3 100644 --- a/system/lime/configuration.nix +++ b/system/lime/configuration.nix @@ -11,9 +11,9 @@ ]; # Use the systemd-boot EFI boot loader. - services.xserver.enable = true; - services.xserver.desktopManager.lxqt.enable = true; - services.xserver.displayManager.gdm.enable = true; + # services.xserver.enable = true; + # services.xserver.desktopManager.lxqt.enable = true; + # services.xserver.displayManager.gdm.enable = true; programs.firefox.enable = true; networking.hostName = "lime"; diff --git a/system/lime/core.nix b/system/lime/core.nix index 2e3155e..73552c2 100644 --- a/system/lime/core.nix +++ b/system/lime/core.nix @@ -1,6 +1,6 @@ { lib, modulesPath, ... }: { - imports = [./configuration.nix]; + imports = [./hardware-configuration.nix ./configuration.nix]; custom = { gui.enable = true;