mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 04:51:08 +01:00
22 lines
472 B
Nix
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}
|
|
'';
|
|
}
|