nixcfg/homeManagerModules/desktop/hypr/hyprpaper/default.nix
Aly Raffauf 4da4930db9 code refactor for new host and user configs
fallarbor: added disko and fixed nixos-hardwarem odule import

fallarbor: added appropriate flake entries
2024-04-18 15:29:46 -04:00

21 lines
474 B
Nix

{
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.
home.packages = with pkgs; [hyprpaper];
xdg.configFile."hypr/hyprpaper.conf".source = ./hyprpaper.conf;
};
}