# **************************************************************************** # # # # ::: :::::::: # # displayManager.nix :+: :+: :+: # # +:+ +:+ +:+ # # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2025/09/05 23:47:16 by tomoron #+# #+# # # Updated: 2025/09/06 00:56:38 by tomoron ### ########.fr # # # # **************************************************************************** # {config, lib, ... }: { options.mods.displayManager.enable = lib.mkOption { type = lib.types.bool; default = false; description = "enable the ly display manager"; }; config = lib.mkIf config.mods.displayManager.enable { services.displayManager.enable = true; services.displayManager.ly.enable = true; services.displayManager.ly.settings = { animation = "doom"; min_refresh_delta = 50; bigclock = "en"; sleep_cmd = "systemctl sleep"; asterisk = "A"; auth_fails= 3; }; }; }