nixos-configs/home/wpaperd.nix
matt1432 5a1d50cece
All checks were successful
Discord / discord commits (push) Has been skipped
fix(wpaperd): make sure wallpaper fits on laptop
2024-06-07 23:17:31 -04:00

18 lines
376 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;
mode = "stretch";
};
};
}