mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +09:00
20 lines
272 B
Nix
20 lines
272 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.applications.ly;
|
|
in
|
|
{
|
|
options.my.applications.ly = {
|
|
enable = lib.mkEnableOption "ly TUI display manager";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.displayManager.ly = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|