diff options
author | Frankie B <git@diskfloppy.me> | 2023-05-23 20:50:01 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2023-05-23 20:50:01 +0100 |
commit | 0f7305a86fd84f28fd6beed33bdc2265db6ec8bc (patch) | |
tree | 7e210bf91a63a756267d2c42bb427ad434532ed5 /hosts/nixbox/configuration.nix | |
parent | ef7a25eddabffa2c5008199f78d2f7d7bf427339 (diff) |
Add second display to nixbox config
Diffstat (limited to 'hosts/nixbox/configuration.nix')
-rw-r--r-- | hosts/nixbox/configuration.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/hosts/nixbox/configuration.nix b/hosts/nixbox/configuration.nix index 0ab39e1..416fd0a 100644 --- a/hosts/nixbox/configuration.nix +++ b/hosts/nixbox/configuration.nix @@ -47,8 +47,13 @@ # Enable the X11 windowing system. 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. - services.xserver.displayManager.sddm.enable = true; services.xserver.desktopManager.plasma5.enable = true; # Configure keymap in X11 |