dotfiles/entropy/nixos/modules/kde.nix

32 lines
577 B
Nix
Raw Normal View History

2021-11-18 18:04:41 +00:00
{ pkgs, ... }:
{
2022-08-29 12:38:07 +00:00
services.xserver = {
enable = false;
autorun = false;
desktopManager.plasma5 = {
enable = true;
};
# use startx to run plasma
displayManager.startx.enable = true;
# I'd like a log please
logFile = "/var/log/Xorg.0.log";
2021-11-18 18:04:41 +00:00
};
2022-08-29 12:38:07 +00:00
environment.etc."X11/xinit/xinitrc".text = ''
export DESKTOP_SESSION=plasma
exec ${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-x11
'';
2021-11-18 18:04:41 +00:00
#environment.variables = {
#GDK_SCALE = "2";
#GDK_DPI_SCALE = "0.5";
#_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
#};
2022-08-29 12:38:07 +00:00
2021-11-18 18:04:41 +00:00
}