diff --git a/modules/home-manager/wallpaper.nix b/modules/home-manager/wallpaper.nix new file mode 100644 index 0000000..84ee458 --- /dev/null +++ b/modules/home-manager/wallpaper.nix @@ -0,0 +1,11 @@ +# Write an importable nix file that copies a folder from this repo into the store and creates a symlink to a predictible directory in my home file +{ + lib, pkgs, ... +}: +{ + # Copy the entire wallpapers directory into the Nix store and symlink it to ~/wallpapers + home.file."wallpapers" = { + source = ../../wallpapers; + target = "Pictures/wallpapers"; + }; +} diff --git a/users/remy_yoga/default.nix b/users/remy_yoga/default.nix index e326746..5eecacd 100644 --- a/users/remy_yoga/default.nix +++ b/users/remy_yoga/default.nix @@ -38,7 +38,7 @@ with lib.hm.gvariant; ../../modules/home-manager/stylix.nix ../../modules/home-manager/thunderbird.nix ../../modules/home-manager/uxplay.nix - # ../../modules/home-manager/wofi.nix + ../../modules/home-manager/wallpaper.nix ../../modules/home-manager/xdg-portals.nix ]; }