flake?
This commit is contained in:
parent
6ac03f05d1
commit
6c3cbb5613
2 changed files with 13 additions and 0 deletions
2
builder.sh
Executable file
2
builder.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
mkdir $out
|
||||||
|
cp *\.{png,webp} $out
|
11
flake.nix
Normal file
11
flake.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
outputs =
|
||||||
|
{ nixpkgs, ... }: {
|
||||||
|
packages."x86_64-linux".default = derivation
|
||||||
|
{
|
||||||
|
name = "backgrounds";
|
||||||
|
builder = "${nixpkgs.bash}/bin/bash";
|
||||||
|
args = [ ./builder.sh ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue