home-manager/tests/modules/services/flameshot/example-settings.nix

31 lines
544 B
Nix
Raw Normal View History

2021-10-11 19:41:49 +00:00
{ ... }:
{
config = {
services.flameshot = {
enable = true;
settings = {
General = {
disabledTrayIcon = true;
showStartupLaunchMessage = false;
};
};
};
test.stubs.flameshot = { };
nmt.script = ''
assertFileContent \
home-files/.config/flameshot/flameshot.ini \
${
builtins.toFile "expected.ini" ''
[General]
disabledTrayIcon=true
showStartupLaunchMessage=false
''
}
'';
};
}