correct environment variables

This commit is contained in:
Kabbone 2022-09-30 23:16:32 +02:00
parent 01131a9fef
commit 3b96abee0e
2 changed files with 20 additions and 20 deletions

View File

@ -50,7 +50,7 @@
security.rtkit.enable = true; security.rtkit.enable = true;
sound = { # ALSA sound enable sound = { # ALSA sound enable
enable = true; enable = true;
mediaKeys = { # Keyboard Media Keys (for minimal desktop) mediaKeys = { # Keyboard Media Keys (for minimal desktop) enable = true;
enable = true; enable = true;
}; };
}; };
@ -74,21 +74,20 @@
TERMINAL = "alacritty"; TERMINAL = "alacritty";
EDITOR = "nvim"; EDITOR = "nvim";
VISUAL = "nvim"; VISUAL = "nvim";
MOZ_ENABLE_WAYLAND=1 MOZ_ENABLE_WAYLAND = "1";
MOZ_WEBRENDER=1 MOZ_WEBRENDER = "1";
MOZ_USE_XINPUT2=2 MOZ_USE_XINPUT2 = "2";
MOZ_DBUS_REMOTE=1 MOZ_DBUS_REMOTE = "1";
GDK_BACKEND=wayland GDK_BACKEND = "wayland";
# QT_QPA_PLATFORM=wayland LIBVA_DRIVER_NAME = "iHD";
LIBVA_DRIVER_NAME=radeonsi VDPAU_DRIVER = "iHD";
VDPAU_DRIVER=radeonsi XDG_SESSION_TYPE = "wayland";
XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP = "sway";
XDG_CURRENT_DESKTOP=sway QT_QPA_PLATFORMTHEME = "qt5ct";
QT_QPA_PLATFORMTHEME="qt5ct" GST_VAAPI_ALL_DRIVERS = "1";
GST_VAAPI_ALL_DRIVERS=1 BROWSER = "firefox";
BROWSER=firefox GTK_THEME = "Arc";
GTK_THEME=Arc _JAVA_AWT_WM_NONREPARENTING = "1";
_JAVA_AWT_WM_NONREPARENTING=1
}; };
systemPackages = with pkgs; [ # Default packages install system-wide systemPackages = with pkgs; [ # Default packages install system-wide

View File

@ -44,11 +44,12 @@
# extraBackends = [ pkgs.sane-airscan ]; # extraBackends = [ pkgs.sane-airscan ];
# }; # };
# environment = { environment = {
# systemPackages = with pkgs; [ systemPackages = with pkgs; [
# simple-scan # simple-scan
# ]; intel-media-driver
# }; ];
};
programs = { # No xbacklight, this is the alterantive programs = { # No xbacklight, this is the alterantive
dconf.enable = true; dconf.enable = true;