nixos-configs/home/wpaperd.nix
matt1432 2af97f6b5a
All checks were successful
Discord / discord commits (push) Has been skipped
feat(hypr): swww -> wpaperd
2024-04-21 14:57:38 -04:00

17 lines
352 B
Nix

{
pkgs,
wpaperd,
...
}: let
inherit (pkgs.writers) writeTOML;
wpaperdPkg = wpaperd.packages.${pkgs.system}.default;
wallpaper = "${pkgs.dracula-theme}/wallpapers/waves.png";
in {
home.packages = [wpaperdPkg];
xdg.configFile."wpaperd/config.toml".source = writeTOML "config.toml" {
default = {
path = wallpaper;
};
};
}