doc: use hash instead of sha256 in example (#1270)

Hash is preferred in nixpkgs, we should follow that here.

Link: https://github.com/danth/stylix/pull/1270
This commit is contained in:
awwpotato 2025-05-14 19:43:53 -07:00 committed by GitHub
parent 71f8b1166b
commit b460904a6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ To set a wallpaper, provide a path or an arbitrary derivation:
{
stylix.image = pkgs.fetchurl {
url = "https://www.pixelstalk.net/wp-content/uploads/2016/05/Epic-Anime-Awesome-Wallpapers.jpg";
sha256 = "enQo3wqhgf0FEPHj2coOCvo7DuZv+x5rL/WIo4qPI50=";
hash = "sha256-enQo3wqhgf0FEPHj2coOCvo7DuZv+x5rL/WIo4qPI50=";
};
}
```