1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/services/swww/swww-graphical-session-target.nix
2025-08-11 09:04:24 -05:00

17 lines
373 B
Nix

{ config, ... }:
{
services.swww = {
enable = true;
package = config.lib.test.mkStubPackage { outPath = "@swww@"; };
extraArgs = [
"--no-cache"
"--layer"
"bottom"
];
};
nmt.script = ''
serviceFile=home-files/.config/systemd/user/swww.service
assertFileContent $serviceFile ${./swww-graphical-session-target.service}
'';
}