nix/config/Wallpaper.nix

22 lines
515 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
with lib;
let
2024-10-13 21:38:03 +03:00
url = "https://i.imgur.com/iDuNPOQ.jpeg";
sha256 = "1hyzc53jkmjkhabbzx4nxzg5bqrk2524dl167fs5aw58r8q6fr75";
forceContrastText = true;
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
}