Files
nix-config/osConfigs/modules/displayManager.nix
tomoron 093ac9c011
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m38s
set supergfxd config in nix files, change ly config, update flake
2025-08-06 00:26:52 +02:00

25 lines
519 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 =
{
animation = "doom";
min_refresh_delta = 50;
bigclock = "en";
sleep_cmd = "systemctl sleep";
asterisk = "A";
auth_fails= 3;
};
};
}