mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
11 lines
235 B
Nix
11 lines
235 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.myConfig.dm.gdm.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.dm.gdm.enable {
|
|
services.xserver = {
|
|
enable = true;
|
|
displayManager.gdm.enable = true;
|
|
};
|
|
};
|
|
}
|