31 lines
468 B
Nix
31 lines
468 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.ly;
|
|
in
|
|
{
|
|
options.modules.ly = {
|
|
enable = mkEnableOption "ly";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.displayManager.ly = {
|
|
enable = true;
|
|
settings = {
|
|
animation = "matrix";
|
|
animation_refresh_ms = 32;
|
|
box_title = "Hewwo! >_< :3";
|
|
clear_password = true;
|
|
load = true;
|
|
save = true;
|
|
xinitrc = "null";
|
|
};
|
|
};
|
|
};
|
|
}
|