summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/default.nix2
-rw-r--r--modules/home/wallpapers.nix14
2 files changed, 16 insertions, 0 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix
index 2c19b8c..a651463 100644
--- a/modules/home/default.nix
+++ b/modules/home/default.nix
@@ -12,8 +12,10 @@
./initial-home-setup.nix
./pcmanfm.nix # TODO mk name changeable & doesn't seem to work right now
./theme.nix
+ ./wallpapers.nix
];
alacritty.enable = lib.mkDefault true;
theme.mint.enable = lib.mkDefault true;
+ wallpapers.enable = lib.mkDefault false;
}
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=";
+ };
+ };
+ };
+}