change env vars and add xfce4

This commit is contained in:
Aditya 2024-09-11 14:31:45 +05:30
parent 6a19220fae
commit 3a05e0b63f
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
4 changed files with 8 additions and 4 deletions

View file

@ -29,7 +29,7 @@
home.sessionVariables = { home.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = 1; NIXPKGS_ALLOW_UNFREE = 1;
NIXOS_OZONE_WL = 1; NIXOS_OZONE_WL = 1;
#QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "xcb";
}; };
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your

View file

@ -12,7 +12,7 @@ _: {
GIT_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass"; GIT_ASKPASS = "/home/user/.nix-profile/bin/ksshaskpass";
WAYLAND_DISPLAY = "wayland-1"; WAYLAND_DISPLAY = "wayland-1";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "xcb";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
SDL_VIDEODRIVER = "wayland"; SDL_VIDEODRIVER = "wayland";
CLUTTER_BACKEND = "wayland"; CLUTTER_BACKEND = "wayland";

View file

@ -12,7 +12,7 @@
displayManager = { displayManager = {
sddm = { sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = false;
}; };
}; };
xserver = { xserver = {
@ -29,6 +29,10 @@
}; };
}; };
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
xserver.desktopManager.xfce = {
enable = true;
enableXfwm = true;
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dunst dunst

View file

@ -9,7 +9,7 @@ env = GLFW_IM_MODULE, ibus
env = INPUT_METHOD, fcitx env = INPUT_METHOD, fcitx
# Themes # Themes
env = QT_QPA_PLATFORM, wayland env = QT_QPA_PLATFORM, xcb
env = QT_QPA_PLATFORMTHEME, qt5ct env = QT_QPA_PLATFORMTHEME, qt5ct
# env = QT_STYLE_OVERRIDE,kvantum # env = QT_STYLE_OVERRIDE,kvantum
env = WLR_NO_HARDWARE_CURSORS, 1 env = WLR_NO_HARDWARE_CURSORS, 1