mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
Fix: update Hyprland workspace assignments and configure SDDM for Wayland display server
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -52,9 +52,18 @@
|
|||||||
"DP-1,3840x2160@60,2560x0,1" # 4K monitor to the right
|
"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 = [
|
wayland.windowManager.hyprland.settings.workspace = [
|
||||||
"1, monitor:DP-2, default:true"
|
"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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,20 @@
|
|||||||
|
|
||||||
networking.hostName = "zeph-desktop";
|
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.)
|
# Desktop-specific packages (gaming, streaming, etc.)
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Add desktop-specific packages here
|
# Add desktop-specific packages here
|
||||||
|
|||||||
Reference in New Issue
Block a user