mirror of
https://github.com/nix-community/home-manager
synced 2024-11-09 20:59:44 +01:00
19 lines
476 B
Nix
19 lines
476 B
Nix
{ 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."
|
|
];
|
|
|
|
test.stubs.syncthingtray-minimal = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/systemd/user/syncthingtray.service
|
|
'';
|
|
};
|
|
}
|