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.
25 lines
518 B
Nix
25 lines
518 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
# FIXME: Deprecate on next version release of fnott (https://codeberg.org/dnkl/fnott/pulls/24).
|
|
{
|
|
config = {
|
|
services.fnott = {
|
|
enable = true;
|
|
package = pkgs.writeScriptBin "dummy-fnott" "";
|
|
|
|
settings = {
|
|
main = {
|
|
max-icon-size = 32;
|
|
notification-margin = 5;
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/fnott/fnott.ini \
|
|
${./global-properties-expected.ini}
|
|
'';
|
|
};
|
|
}
|