From 4641b60a074fa2e2420341d81321a399d56b166d Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 3 Nov 2024 13:18:08 -0600 Subject: download wallpapers --- modules/home/wallpapers.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/home/wallpapers.nix (limited to 'modules/home/wallpapers.nix') diff --git a/modules/home/wallpapers.nix b/modules/home/wallpapers.nix new file mode 100644 index 0000000..d7e067a --- /dev/null +++ b/modules/home/wallpapers.nix @@ -0,0 +1,14 @@ +{ lib, config, pkgs, ... }: { + options = { + wallpapers.enable = lib.mkEnableOption "enables all wallpapers"; + }; + + config = lib.mkIf config.wallpapers.enable { + home.file.".local/share/wallpaper" = { + source = pkgs.fetchzip { + url = "https://tjkeller.xyz/permalinks/wallpapers.tar"; + hash = "sha256-lhj9wUMZfd0XOrUtWY9HB64oXrS/EjsvsaJHzu4ucFg="; + }; + }; + }; +} -- cgit v1.2.3