atau-nixpkgs/atau-wallpapers/default.nix

25 lines
473 B
Nix
Raw Normal View History

2023-06-21 23:16:00 +00:00
{ lib, stdenv }:
2023-06-21 22:53:21 +00:00
2023-06-21 23:16:00 +00:00
stdenv.mkDerivation rec {
2023-06-21 22:53:21 +00:00
name = "atau-wallpapers";
pname = name;
version = "1.0.0";
src = ./assets;
installPhase = ''
2023-06-21 23:16:00 +00:00
runHook preInstall
2023-06-21 22:53:21 +00:00
mkdir -p "$out/share/backgrounds/atau-wallpapers"
2023-06-21 23:16:00 +00:00
mv * "$out/share/backgrounds/atau-wallpapers/"
runHook postInstall
2023-06-21 22:53:21 +00:00
'';
meta = with lib; {
description = "A collection of wallpapers for me";
platforms = platforms.unix;
maintainers = with maintainers; [ atau ];
};
}