27 lines
560 B
Nix
27 lines
560 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Alternative configuration using GDM instead of SDDM
|
|
# Uncomment this and comment out SDDM in services.nix if SDDM doesn't work
|
|
|
|
# Enable GDM display manager (alternative to SDDM)
|
|
services.displayManager.gdm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
settings = {
|
|
daemon = {
|
|
WaylandEnable = true;
|
|
};
|
|
security = {
|
|
DisallowTCP = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
# Autologin configuration for GDM
|
|
services.displayManager.autoLogin = {
|
|
enable = true;
|
|
user = "jared";
|
|
};
|
|
}
|