home-manager/tests/modules/services/glance/default-settings.nix
2024-06-28 17:24:13 +02:00

15 lines
336 B
Nix

{ ... }:
{
services.glance.enable = true;
test.stubs.glance = { };
nmt.script = ''
configFile=home-files/.config/glance/glance.yml
serviceFile=home-files/.config/systemd/user/glance.service
assertFileContent $configFile ${./glance-default-config.yml}
assertFileContent $serviceFile ${./glance.service}
'';
}