nixcfg/homeManagerModules/desktop/hypr/hyprpaper/default.nix

21 lines
474 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
imports = [./hyprpaper-random.nix];
options = {
alyraffauf.desktop.hyprland.hyprpaper.enable =
lib.mkEnableOption "Enables hyprpaper and assorted wallpapers.";
};
config = lib.mkIf config.alyraffauf.desktop.hyprland.hyprpaper.enable {
# Packages that should be installed to the user profile.
2024-04-07 22:16:33 -04:00
home.packages = with pkgs; [hyprpaper];
xdg.configFile."hypr/hyprpaper.conf".source = ./hyprpaper.conf;
};
}