mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
16 lines
256 B
Nix
16 lines
256 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.myConfig.dm;
|
|
in {
|
|
options.myConfig.dm = {
|
|
gdm.enable = lib.mkEnableOption "";
|
|
};
|
|
|
|
config = {
|
|
services.xserver.displayManager.gdm.enable = cfg.gdm.enable;
|
|
};
|
|
}
|