diff --git a/builder.sh b/builder.sh new file mode 100755 index 0000000..149e6c2 --- /dev/null +++ b/builder.sh @@ -0,0 +1,2 @@ +mkdir $out +cp *\.{png,webp} $out diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..c9197e4 --- /dev/null +++ b/flake.nix @@ -0,0 +1,11 @@ +{ + outputs = + { nixpkgs, ... }: { + packages."x86_64-linux".default = derivation + { + name = "backgrounds"; + builder = "${nixpkgs.bash}/bin/bash"; + args = [ ./builder.sh ]; + }; + }; +}