mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 17:14:52 +00:00
18 lines
431 B
Nix
18 lines
431 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."
|
||
|
];
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.config/systemd/user/syncthingtray.service
|
||
|
'';
|
||
|
};
|
||
|
}
|