nixos-configs/home/wpaperd.nix
matt1432 cab5bfa648
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: reduce amount of IFDs
2024-06-10 22:57:20 -04:00

18 lines
376 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.legacyPackages.${pkgs.system}.dracula.wallpaper;
mode = "stretch";
};
};
}