1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00
home-manager/tests/modules/services/swww/swww-graphical-session-target.nix

11 lines
298 B
Nix

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