nix/config/Wallpaper.nix

22 lines
516 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
with lib;
let
url = "https://i.imgur.com/9l6Ywcm.jpeg";
sha256 = "1fncihr63niq6l2llgbhhid24a11vr3q091yya497xld3mldfdan";
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
}