1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 04:51:08 +01:00
home-manager/tests/modules/services/wpaperd/wpaperd-example-settings.nix
Austin Horstman 3976e0507e test/wpaperd: add test for empty settings
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-07-11 15:26:17 -05:00

22 lines
472 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 = ''
assertFileExists home-files/.config/wpaperd/wallpaper.toml
assertFileContent home-files/.config/wpaperd/wallpaper.toml \
${./wpaperd-expected-settings.toml}
'';
}