summaryrefslogtreecommitdiff
path: root/modules/home/wallpapers.nix
blob: d7e067accc8a25a6e0c340884a1e8359858367de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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=";
			};
		};
	};
}