Fix: update Hyprland workspace assignments and configure SDDM for Wayland display server

This commit is contained in:
2025-10-28 02:04:15 +00:00
parent dd63da2c30
commit 2908b32f87
2 changed files with 24 additions and 1 deletions

View File

@@ -52,9 +52,18 @@
"DP-1,3840x2160@60,2560x0,1" # 4K monitor to the right
];
# Set workspace 1 on the main monitor
# Assign workspaces to specific monitors
wayland.windowManager.hyprland.settings.workspace = [
"1, monitor:DP-2, default:true"
"2, monitor:DP-1"
"3, monitor:DP-2"
"4, monitor:DP-1"
"5, monitor:DP-2"
"6, monitor:DP-1"
"7, monitor:DP-2"
"8, monitor:DP-1"
"9, monitor:DP-2"
"10, monitor:DP-1"
];
};
}

View File

@@ -11,6 +11,20 @@
networking.hostName = "zeph-desktop";
# Configure monitors for SDDM (display manager)
# This ensures the login screen appears on the 1440p monitor
services.displayManager.sddm.settings = {
General = {
DisplayServer = "wayland";
};
};
# Create a Hyprland config for SDDM to set monitor order
environment.etc."sddm/hyprland.conf".text = ''
monitor=DP-2,2560x1440@165,0x0,1
monitor=DP-1,3840x2160@60,2560x0,1
'';
# Desktop-specific packages (gaming, streaming, etc.)
environment.systemPackages = with pkgs; [
# Add desktop-specific packages here