2024-06-30 00:20:19 +03:00
|
|
|
{ pkgs, lib, ... }: with lib; let
|
2024-08-22 11:58:01 +03:00
|
|
|
url = "https://i.imgur.com/DEawPwc.jpeg";
|
|
|
|
sha256 = "1qzd1n3an5simjm9j87a41xdp7z2w7x723x8pbhv521m2wnpj34h";
|
2024-08-22 11:15:45 +03:00
|
|
|
forceContrastText = false;
|
2024-06-25 04:04:39 +03:00
|
|
|
in {
|
|
|
|
options = {
|
2024-06-30 03:56:48 +03:00
|
|
|
module.wallpaper = {
|
2024-06-25 04:04:39 +03:00
|
|
|
forceContrastText = mkOption {
|
2024-08-22 05:53:10 +03:00
|
|
|
default = lib.warnIf forceContrastText "Style : Forced text contrast." forceContrastText;
|
2024-06-25 04:04:39 +03:00
|
|
|
type = types.bool;
|
|
|
|
};
|
|
|
|
path = mkOption {
|
|
|
|
default = pkgs.fetchurl { inherit url sha256; };
|
|
|
|
type = types.path;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|