From 3b96abee0e15aa2cba0ff19523a2ea2102bf0c6d Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 30 Sep 2022 23:16:32 +0200 Subject: [PATCH] correct environment variables --- hosts/configuration.nix | 31 +++++++++++++++---------------- hosts/laptop/default.nix | 9 +++++---- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index cb4b5c4..aeeadb3 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -50,7 +50,7 @@ security.rtkit.enable = true; sound = { # ALSA sound enable enable = true; - mediaKeys = { # Keyboard Media Keys (for minimal desktop) + mediaKeys = { # Keyboard Media Keys (for minimal desktop) enable = true; enable = true; }; }; @@ -74,21 +74,20 @@ TERMINAL = "alacritty"; EDITOR = "nvim"; VISUAL = "nvim"; - MOZ_ENABLE_WAYLAND=1 - MOZ_WEBRENDER=1 - MOZ_USE_XINPUT2=2 - MOZ_DBUS_REMOTE=1 - GDK_BACKEND=wayland - # QT_QPA_PLATFORM=wayland - LIBVA_DRIVER_NAME=radeonsi - VDPAU_DRIVER=radeonsi - XDG_SESSION_TYPE=wayland - XDG_CURRENT_DESKTOP=sway - QT_QPA_PLATFORMTHEME="qt5ct" - GST_VAAPI_ALL_DRIVERS=1 - BROWSER=firefox - GTK_THEME=Arc - _JAVA_AWT_WM_NONREPARENTING=1 + MOZ_ENABLE_WAYLAND = "1"; + MOZ_WEBRENDER = "1"; + MOZ_USE_XINPUT2 = "2"; + MOZ_DBUS_REMOTE = "1"; + GDK_BACKEND = "wayland"; + LIBVA_DRIVER_NAME = "iHD"; + VDPAU_DRIVER = "iHD"; + XDG_SESSION_TYPE = "wayland"; + XDG_CURRENT_DESKTOP = "sway"; + QT_QPA_PLATFORMTHEME = "qt5ct"; + GST_VAAPI_ALL_DRIVERS = "1"; + BROWSER = "firefox"; + GTK_THEME = "Arc"; + _JAVA_AWT_WM_NONREPARENTING = "1"; }; systemPackages = with pkgs; [ # Default packages install system-wide diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index bc17d84..7c754d5 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -44,11 +44,12 @@ # extraBackends = [ pkgs.sane-airscan ]; # }; -# environment = { -# systemPackages = with pkgs; [ + environment = { + systemPackages = with pkgs; [ # simple-scan -# ]; -# }; + intel-media-driver + ]; + }; programs = { # No xbacklight, this is the alterantive dconf.enable = true;