mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 19:13:27 +00:00
31 lines
544 B
Nix
31 lines
544 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
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
|
||
|
''
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|