nix/modules/system/display-managers/gdm.nix
2024-12-24 14:55:11 +01:00

13 lines
215 B
Nix

{ lib, config, ... }:
with lib;
let
cfg = config.settings.display-manager;
in {
config = mkIf (cfg == "gdm") {
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
};
}