13 lines
215 B
Nix
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;
|
||
|
};
|
||
|
}
|