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