Moved wallpapers from nixos-config/home/m3tam3re/wallpapers/ to m3ta-home/assets/wallpapers/ and fixed the relative path reference in the theme module.
20 lines
461 B
Nix
20 lines
461 B
Nix
# Wallpaper collection — copies wallpapers to Hyprland config directory.
|
|
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.desktop.theme.wallpapers.enable;
|
|
in {
|
|
options.desktop.theme.wallpapers.enable = mkEnableOption "wallpapers for Hyprland";
|
|
|
|
config = mkIf cfg {
|
|
xdg.configFile."hypr/wallpapers" = {
|
|
# Wallpapers stored in m3ta-home/assets/wallpapers/
|
|
source = ./../../../assets/wallpapers;
|
|
recursive = true;
|
|
};
|
|
};
|
|
}
|