1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-10 10:47:02 +00:00
home-manager/tests/modules/services/wpaperd/wpaperd-example-settings.nix
eulalia 7ceacd98a9
wpaperd: add systemd service; move to services/ from programs/ (#6302)
This commit adds a systemd service to run it, and accordingly moves it to services.wpaperd.

In addition, the existing tests have been migrated to services, and an entry in the newslist has been created alerting users to this change.
2025-02-22 11:32:15 -06:00

21 lines
409 B
Nix

{
services.wpaperd = {
enable = true;
settings = {
eDP-1 = {
path = "/home/foo/Pictures/Wallpaper";
apply-shadow = true;
};
DP-2 = {
path = "/home/foo/Pictures/Anime";
sorting = "descending";
};
};
};
nmt.script = ''
assertFileContent home-files/.config/wpaperd/wallpaper.toml \
${./wpaperd-expected-settings.toml}
'';
}