mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +00:00
10 lines
273 B
Nix
10 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)))
|