1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/services/fnott/example-settings.nix
2025-05-07 10:03:21 -05:00

32 lines
529 B
Nix

{
config,
lib,
...
}:
{
config = {
services.fnott = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
main = {
notification-margin = 5;
};
low = {
timeout = 5;
title-font = "Dina:weight=bold:slant=italic";
title-color = "ffffff";
};
};
};
nmt.script = ''
assertFileContent \
home-files/.config/fnott/fnott.ini \
${./example-settings-expected.ini}
'';
};
}