Files
nix-config/osConfigs/modules/displayManager.nix
tomoron 633eea8877
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 13m10s
enable display manager on desktop
2025-05-06 22:47:47 +02:00

16 lines
331 B
Nix

{config, lib, ... }:
{
options.mods.displayManager.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "enable the display manager";
};
config = lib.mkIf config.mods.displayManager.enable {
services.displayManager.enable = true;
services.displayManager.ly.enable = true;
};
}