Add second display to nixbox config
This commit is contained in:
parent
ef7a25edda
commit
0f7305a86f
1 changed files with 6 additions and 1 deletions
|
@ -47,8 +47,13 @@
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
# Enable SDDM and set second display resolution/position
|
||||||
|
services.xserver.displayManager = {
|
||||||
|
sddm.enable = true;
|
||||||
|
setupCommands = "xrandr --output HDMI-0 --mode 1280x1024 --output HDMI-0 --right-of DP-0";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable the KDE Plasma Desktop Environment.
|
# Enable the KDE Plasma Desktop Environment.
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
|
|
Loading…
Reference in a new issue