nixos-configs/home/wpaperd.nix

18 lines
352 B
Nix
Raw Normal View History

2024-04-21 14:57:38 -04:00
{
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;
};
};
}