nixos-config/modules/gdm.nix
Antoine Martin b8c954350c modules: sddm is no longer the config wide default
Make room for a GDM option as well (SDDM does not start on my
NVIDIA+Wayland config)
2025-12-22 18:58:05 +01:00

23 lines
330 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit
(lib)
mkEnableOption
mkIf
;
cfg = config.my.displayManager.gdm;
in {
options.my.displayManager.gdm.enable = mkEnableOption "GDM setup";
config = mkIf cfg.enable {
services.displayManager.gdm = {
enable = true;
wayland = true;
};
};
}