mirror of
https://github.com/nix-community/home-manager
synced 2024-12-04 17:09:47 +01:00
521a03d8bf
Fnott is a keyboard driven and lightweight Wayland notification daemon for wlroots-based compositors. There are four unit test to validate behavior for an empty configuration, the default configuration, global properties and systemd service file generation.
26 lines
514 B
Nix
26 lines
514 B
Nix
{ 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}
|
|
'';
|
|
};
|
|
}
|