make env variables syste-wide; disable plasma but leave some confiuration for kde apps
This commit is contained in:
@@ -221,20 +221,22 @@ in
|
|||||||
android-tools
|
android-tools
|
||||||
river
|
river
|
||||||
];
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
LIBVA_DRIVER_NAME = "iHD";
|
LIBVA_DRIVER_NAME = "iHD";
|
||||||
KWIN_COMPOSE = "O2ES";
|
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 = {
|
etc = {
|
||||||
"firejail/qutebrowser.local".text = ''
|
"firejail/qutebrowser.local".text = ''
|
||||||
whitelist ''${RUNUSER}/qutebrowser
|
whitelist ''${RUNUSER}/qutebrowser
|
||||||
'';
|
'';
|
||||||
"xdg/autostart/powerdevil.desktop".text = ''
|
"xdg/menus/applications.menu".source =
|
||||||
[Desktop Entry]
|
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||||
Hidden=true
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
extraInit = ''
|
extraInit = ''
|
||||||
unset -v SSH_ASKPASS
|
unset -v SSH_ASKPASS
|
||||||
@@ -276,6 +278,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
config.river.default = [ "wlr" "gtk" ];
|
config.river.default = [ "wlr" "gtk" ];
|
||||||
|
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
|
||||||
};
|
};
|
||||||
|
|
||||||
documentation.dev.enable = true;
|
documentation.dev.enable = true;
|
||||||
@@ -361,7 +364,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
desktopManager = {
|
desktopManager = {
|
||||||
plasma6.enable = true;
|
plasma6.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
|
|||||||
Reference in New Issue
Block a user