main
1{den, ...}: {
2 den.aspects.desktop.includes = [den.aspects.desktop.greeter];
3 den.aspects.desktop.greeter = {
4 nixos = {pkgs, ...}: let
5 blackhole-dur = pkgs.fetchurl {
6 name = "blackhole-smooth-240x67.dur";
7 url = "https://codeberg.org/fairyglade/ly-community/raw/commit/fd85d8584545433520f34fb25584b17280f4c0b9/animations/dur/blackhole-smooth-240x67.dur";
8 hash = "sha256-wo3FzPtngCsg/bRSDTYHQqKnMp4vY+Btm14vakJERBU=";
9 };
10 in {
11 services.displayManager.ly = {
12 enable = true;
13 settings = {
14 animation = "dur_file";
15 dur_file_path = toString blackhole-dur;
16 dur_offset_alignment = "center";
17 dur_x_offset = -16;
18 full_color = true;
19 bigclock = "en";
20 session_log = ".local/state/ly-session.log";
21 };
22 };
23 };
24 };
25}