mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:18:12 +09:00
git
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.applications.ly;
|
||||
indyzLinuxfire = pkgs.fetchurl {
|
||||
url = "https://codeberg.org/attachments/f336d6ac-8331-4323-91fc-0e4619803401";
|
||||
hash = "sha256-fRm0wlkq9/GdLrVBOzMEnQG/i2ng+uGIzq0u9hu3m9g=";
|
||||
};
|
||||
in
|
||||
{
|
||||
options.my.applications.ly = {
|
||||
enable = lib.mkEnableOption "ly TUI display manager";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.displayManager.ly = {
|
||||
enable = true;
|
||||
settings = {
|
||||
animate = true;
|
||||
animation = "dur_file";
|
||||
dur_file_path = "${indyzLinuxfire}";
|
||||
dur_offset_alignment = "center";
|
||||
|
||||
full_color = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user