nixos-configs/home/wpaperd.nix

19 lines
376 B
Nix
Raw Normal View History

2024-04-21 14:57:38 -04:00
{
pkgs,
self,
2024-04-21 14:57:38 -04:00
wpaperd,
...
}: let
inherit (pkgs.writers) writeTOML;
wpaperdPkg = wpaperd.packages.${pkgs.system}.default;
in {
home.packages = [wpaperdPkg];
xdg.configFile."wpaperd/config.toml".source = writeTOML "config.toml" {
default = {
2024-06-10 22:57:20 -04:00
path = toString self.legacyPackages.${pkgs.system}.dracula.wallpaper;
mode = "stretch";
2024-04-21 14:57:38 -04:00
};
};
}