2024-06-30 00:20:19 +03:00
|
|
|
{ pkgs, lib, ... }: with lib; let
|
2024-10-10 03:17:40 +03:00
|
|
|
url = "https://i.imgur.com/gYy0mzG.jpeg";
|
|
|
|
sha256 = "0pwnq84mdbv8nrarhnbkq77iabwgh7znr0yig3fnshamxl2a3k7k";
|
|
|
|
forceContrastText = true;
|
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-09-29 22:09:26 +03:00
|
|
|
default = 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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|