1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/services/flameshot/example-settings.nix

29 lines
484 B
Nix
Raw Normal View History

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