nix/config/Wallpaper.nix

22 lines
516 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
with lib;
let
2024-10-22 05:35:35 +03:00
url = "https://i.imgur.com/UpyYtT3.jpeg";
sha256 = "1dilvn5ls34d5855d1h6k12x9mbdhawd91dl9z5v91ndpbjhip5r";
2024-10-14 00:59:15 +03:00
forceContrastText = false;
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
}