mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 19:13:27 +00:00
27 lines
501 B
Nix
27 lines
501 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.wpaperd = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
eDP-1 = {
|
||
|
path = "/home/foo/Pictures/Wallpaper";
|
||
|
apply-shadow = true;
|
||
|
};
|
||
|
DP-2 = {
|
||
|
path = "/home/foo/Pictures/Anime";
|
||
|
sorting = "descending";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
test.stubs.wpaperd = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent home-files/.config/wpaperd/wallpaper.toml \
|
||
|
${./wpaperd-expected-settings.toml}
|
||
|
'';
|
||
|
};
|
||
|
}
|