swtch displayManager from gdm to greetd

This commit is contained in:
ulic-youthlic 2025-05-02 15:36:40 +08:00
parent 11c79bbe01
commit e94dee0c7f
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 104 additions and 21 deletions

View file

@ -0,0 +1,26 @@
{pkgs, ...}: let
extraConfig = ''
output "DP-1" {
mode "2560x1440@169.900"
scale 1.0
position x=0 y=0
transform "normal"
focus-at-startup
}
output "eDP-1" {
mode "2560x1440@165.003"
scale 1.5
position x=2560 y=0
transform "normal"
}
window-rule {
match app-id="apps.regreet"
open-on-output "DP-1"
}
'';
in {
youthlic.gui = {
enabled = "niri";
niri.extraConfig = extraConfig;
};
}