1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-17 23:39:48 +01:00
home-manager/tests/modules/services/fnott/global-properties.nix

25 lines
518 B
Nix
Raw Normal View History

{ 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}
'';
};
}