2021-07-02 22:36:30 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
services.syncthing.tray = true;
|
|
|
|
|
|
|
|
test.asserts.warnings.expected = [
|
|
|
|
"Specifying 'services.syncthing.tray' as a boolean is deprecated, set 'services.syncthing.tray.enable' instead. See https://github.com/nix-community/home-manager/pull/1257."
|
|
|
|
];
|
|
|
|
|
2021-11-04 16:42:44 +00:00
|
|
|
test.stubs.syncthingtray-minimal = { };
|
|
|
|
|
2021-07-02 22:36:30 +00:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.config/systemd/user/syncthingtray.service
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|