nixos-configs/scopedPackages/dracula/wallpaper/default.nix

30 lines
575 B
Nix
Raw Normal View History

{
2025-02-18 15:19:08 -05:00
# nix build inputs
lib,
2024-06-13 22:27:54 -04:00
stdenv,
2025-02-18 15:19:08 -05:00
fetchurl,
2024-06-13 22:27:54 -04:00
...
}:
stdenv.mkDerivation {
2024-06-13 23:46:34 -04:00
name = "dracula-wallpaper.png";
2024-06-13 22:27:54 -04:00
src = fetchurl {
url = "https://raw.githubusercontent.com/aynp/dracula-wallpapers/main/Art/4k/Waves%201.png";
hash = "sha256-f9FwSOSvqTeDj4bOjYUQ6TM+/carCD9o5dhg/MnP/lk=";
};
phases = ["installPhase"];
installPhase = ''
cp -a $src $out
2024-06-13 22:27:54 -04:00
'';
2025-02-18 15:19:08 -05:00
meta = {
license = lib.licenses.cc-by-sa-40;
homepage = "https://github.com/aynp/dracula-wallpapers";
description = ''
Wallpaper based on the Dracula Theme.
'';
};
}