nix-config/home/gburd/wallpapers/default.nix
Greg Burd f3fd89af54
A fork of Misterio77 and his standard template.
Many thangs to the hard work and generous availability of:
git@github.com:Misterio77/nix-config.git
2023-09-15 10:53:38 -04:00

9 lines
273 B
Nix

builtins.listToAttrs (map
(wallpaper: {
inherit (wallpaper) name;
value = builtins.fetchurl {
inherit (wallpaper) sha256;
url = "https://i.imgur.com/${wallpaper.id}.${wallpaper.ext}";
};
})
(builtins.fromJSON (builtins.readFile ./list.json)))