make env variables syste-wide; disable plasma but leave some confiuration for kde apps

This commit is contained in:
2026-08-08 11:12:26 +02:00
parent 2a1e4eb6b4
commit f1b35d9045
+9 -6
View File
@@ -221,20 +221,22 @@ in
android-tools
river
];
sessionVariables = {
LIBVA_DRIVER_NAME = "iHD";
KWIN_COMPOSE = "O2ES";
WLR_RENDERER = "vulkan";
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
_JAVA_AWT_WM_NONREPARENTING = "1";
};
etc = {
"firejail/qutebrowser.local".text = ''
whitelist ''${RUNUSER}/qutebrowser
'';
"xdg/autostart/powerdevil.desktop".text = ''
[Desktop Entry]
Hidden=true
'';
"xdg/menus/applications.menu".source =
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
};
extraInit = ''
unset -v SSH_ASKPASS
@@ -276,6 +278,7 @@ in
enable = true;
wlr.enable = true;
config.river.default = [ "wlr" "gtk" ];
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
};
documentation.dev.enable = true;
@@ -361,7 +364,7 @@ in
};
desktopManager = {
plasma6.enable = true;
plasma6.enable = false;
};
pipewire = {