1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-07 13:53:27 +02:00
home-manager/tests/modules/services/fnott/example-settings.nix

27 lines
514 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
config = {
services.fnott = {
enable = true;
package = pkgs.writeScriptBin "dummy-fnott" "";
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}
'';
};
}