2024-11-16 04:43:59 +03:00
|
|
|
# Download the wallpaper here.
|
2024-11-04 04:37:29 +03:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
2024-12-12 11:39:17 +03:00
|
|
|
url = "https://i.imgur.com/3EL63Ur.jpeg";
|
|
|
|
sha256 = "sha256-4MHVZB35gUUK6aXaezrqfbGF+Az8VIpijbmWqZC2XUM=";
|
2024-11-28 03:09:00 +03:00
|
|
|
forceContrastText = false;
|
2024-11-04 04:37:29 +03:00
|
|
|
in {
|
|
|
|
options.module.wallpaper = {
|
|
|
|
forceContrastText = lib.mkOption {
|
|
|
|
default = lib.warnIf forceContrastText "Wallpaper: Forced text contrast." forceContrastText;
|
|
|
|
type = lib.types.bool;
|
|
|
|
};
|
|
|
|
path = lib.mkOption {
|
|
|
|
default = pkgs.fetchurl { inherit url sha256; };
|
|
|
|
type = lib.types.path;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|