
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.
18 lines
407 B
Nix
18 lines
407 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
services.fnott = {
|
|
enable = true;
|
|
package = pkgs.writeScriptBin "dummy-foot" "" // { outPath = "@fnott@"; };
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/fnott/fnott.ini
|
|
|
|
assertFileContent \
|
|
home-files/.config/systemd/user/fnott.service \
|
|
${./systemd-user-service-expected.service}
|
|
'';
|
|
};
|
|
}
|