summaryrefslogtreecommitdiff
path: root/modules/home/wallpapers.nix
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-03 13:18:08 -0600
committerTim Keller <tjkeller.xyz>2024-11-03 13:18:08 -0600
commit4641b60a074fa2e2420341d81321a399d56b166d (patch)
tree92f1e47b77c3b276d690b271b163b3f8912e8b35 /modules/home/wallpapers.nix
parentb7e100d621a857013d3cfebafcc004ecf4e486a9 (diff)
downloadnixos-4641b60a074fa2e2420341d81321a399d56b166d.tar.xz
nixos-4641b60a074fa2e2420341d81321a399d56b166d.zip
download wallpapers
Diffstat (limited to 'modules/home/wallpapers.nix')
-rw-r--r--modules/home/wallpapers.nix14
1 files changed, 14 insertions, 0 deletions
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=";
+ };
+ };
+ };
+}