nixos-configs/modules/desktop/home/hyprpaper.nix
matt1432 35645b93a6
All checks were successful
Discord / discord commits (push) Has been skipped
feat(desktop): wpaperd -> hyprpaper
2024-07-06 03:07:47 -04:00

25 lines
423 B
Nix

{
lib,
pkgs,
self,
...
}: let
wallpaper = toString self.legacyPackages.${pkgs.system}.dracula.wallpaper;
in {
home.packages = with pkgs; [hyprpaper];
xdg.configFile."hypr/hyprpaper.conf" = {
text = lib.hm.generators.toHyprconf {
attrs = {
ipc = "on";
splash = false;
preload = [wallpaper];
wallpaper = [
",${wallpaper}"
];
};
};
};
}