mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-02-18 20:21:53 +00:00
feat: integrate spicetify-nix for Spotify customization, add steam and add hyprlock configuration
This commit is contained in:
@@ -11,18 +11,24 @@
|
||||
|
||||
networking.hostName = "zeph-desktop";
|
||||
|
||||
# Configure monitors for SDDM (display manager)
|
||||
# This ensures the login screen appears on the 1440p monitor
|
||||
# Configure monitors for login screen (display manager)
|
||||
services.displayManager.sddm.settings = {
|
||||
General = {
|
||||
DisplayServer = "wayland";
|
||||
};
|
||||
|
||||
# Wayland-specific settings
|
||||
Wayland = {
|
||||
SessionDir = "/run/current-system/sw/share/wayland-sessions";
|
||||
CompositorCommand = "${pkgs.hyprland}/bin/Hyprland -c /etc/sddm/hyprland.conf";
|
||||
};
|
||||
};
|
||||
|
||||
# Create a Hyprland config for SDDM to set monitor order
|
||||
# DP-2 (1440p 165Hz) is primary on the left, DP-1 (4K 60Hz) is secondary on the right
|
||||
environment.etc."sddm/hyprland.conf".text = ''
|
||||
monitor=DP-2,2560x1440@165,0x0,1
|
||||
monitor=DP-1,3840x2160@60,2560x0,1
|
||||
monitor=DP-1,3840x2160@60,2560x0,1.5
|
||||
'';
|
||||
|
||||
# Desktop-specific packages (gaming, streaming, etc.)
|
||||
@@ -39,6 +45,6 @@
|
||||
];
|
||||
|
||||
# Gaming support (uncomment if needed)
|
||||
# programs.steam.enable = true;
|
||||
# programs.gamemode.enable = true;
|
||||
programs.steam.enable = true;
|
||||
programs.gamemode.enable = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user