Files
home-manager/tests/modules/services/hyprpaper/basic-configuration.nix
Austin Horstman bdaa374383 tests/hyprpaper: update basic configuration
Show the newer format and test the proper generation of config.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-01-07 11:07:21 -05:00

42 lines
919 B
Nix

{
services.hyprpaper = {
enable = true;
settings = {
ipc = "on";
splash = false;
splash_offset = 2.0;
preload = [
"/share/wallpapers/buttons.png"
"/share/wallpapers/cat_pacman.png"
];
wallpaper = [
{
monitor = "DP-3";
path = "/share/wallpapers/buttons.png";
fit_mode = "cover";
}
{
monitor = "DP-2";
path = "/share/wallpapers/cat_pacman.png";
fit_mode = "cover";
}
{
monitor = "";
path = "~/fallback.jxl";
fit_mode = "cover";
}
];
};
};
nmt.script = ''
config=home-files/.config/hypr/hyprpaper.conf
clientServiceFile=home-files/.config/systemd/user/hyprpaper.service
assertFileExists $config
assertFileExists $clientServiceFile
assertFileContent $config ${./hyprpaper.conf}
'';
}