2024-10-11 23:27:07 +03:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
2024-11-01 03:28:04 +03:00
|
|
|
url = "https://i.imgur.com/yuZ2XSf.jpeg";
|
|
|
|
sha256 = "sha256-Z35D7gn28d2dtPHHVwzySOingy/d8CWKmK9LQjpyjEk=";
|
2024-11-01 02:32:51 +03:00
|
|
|
forceContrastText = false;
|
2024-10-11 23:27:07 +03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
module.wallpaper = {
|
|
|
|
forceContrastText = mkOption {
|
|
|
|
default = warnIf forceContrastText "Style : Forced text contrast." forceContrastText;
|
|
|
|
type = types.bool;
|
|
|
|
};
|
|
|
|
path = mkOption {
|
|
|
|
default = pkgs.fetchurl { inherit url sha256; };
|
|
|
|
type = types.path;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-25 04:04:39 +03:00
|
|
|
}
|