mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-26 07:26:30 +00:00
34 lines
615 B
Nix
34 lines
615 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
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";
|
|
|
|
# graphics
|
|
useGlamor = true;
|
|
};
|
|
|
|
environment.etc."X11/xinit/xinitrc".text = ''
|
|
export DESKTOP_SESSION=plasma
|
|
exec ${pkgs.libsForQt5.plasma-workspace}/bin/startplasma-x11
|
|
'';
|
|
|
|
#environment.variables = {
|
|
#GDK_SCALE = "2";
|
|
#GDK_DPI_SCALE = "0.5";
|
|
#_JAVA_OPTIONS = "-Dsun.java2d.uiScale=2";
|
|
#};
|
|
|
|
|
|
}
|