Files
nix-config/osConfigs/modules/displayManager.nix
tomoron 9d132e5366
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 12m12s
update flake and change some ly settings
2025-06-26 14:47:45 +02:00

22 lines
449 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;
services.displayManager.ly.settings =
{
sleep_cmd = "systemctl sleep";
asterisk = "A";
auth_fails= 3;
};
};
}