mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-23 06:26:30 +00:00
31 lines
577 B
Nix
31 lines
577 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";
|
|
};
|
|
|
|
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";
|
|
#};
|
|
|
|
|
|
}
|