fix: use gdm and uwsm, move monitor config to host-specific

This commit is contained in:
2025-06-27 15:40:29 -07:00
parent d4ed1dfedf
commit 9c15c93217
2 changed files with 34 additions and 28 deletions

View File

@@ -39,9 +39,15 @@
wdisplays
];
programs.thunar.enable = true;
programs.hyprland.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
};
services.tumbler.enable = true;
services.displayManager.ly.enable = true;
services.displayManager.gdm = {
enable = true;
wayland = true;
};
rofi.enable = true;
services.upower.enable = true;
@@ -92,31 +98,6 @@
enable = true;
style.name = "adwaita-dark";
};
services.kanshi = {
enable = true;
systemdTarget = "graphical-session.target";
settings = [
{
profile.name = "main";
profile.outputs = [
{
criteria = "DP-1";
status = "enable";
scale = 1.0;
mode = "1920x1080";
position = "0,190";
}
{
criteria = "HDMI-A-1";
status = "enable";
scale = 1.0;
mode = "3440x1440";
position = "1920,0";
}
];
}
];
};
wayland.windowManager.hyprland = {
enable = true;
@@ -188,7 +169,6 @@
exec-once = [
"status-bar"
"wl-clip-persist --clipboard regular"
"sleep 4 && kanshi"
];
monitor = [
"eDP-1, 1920x1080, 0x0, 1"