18 lines
370 B
Nix
18 lines
370 B
Nix
{
|
|
pkgs,
|
|
self,
|
|
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 = {
|
|
path = toString self.packages.${pkgs.system}.dracula.wallpaper;
|
|
mode = "stretch";
|
|
};
|
|
};
|
|
}
|