mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
3612ca58e8
Also sets the default syncthing tray package to https://github.com/Martchus/syncthingtray instead of https://github.com/sieren/QSyncthingTray, which indirectly fixes #603
17 lines
431 B
Nix
17 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
|
|
'';
|
|
};
|
|
}
|