fork/home-manager

git clone https://git.julia.blue/fork/home-manager

midchildansyncthing: add Darwin support885a504f

master
476 B19 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    services.syncthing.tray = true;
8
9    test.asserts.warnings.expected = [
10      "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."
11    ];
12
13    test.stubs.syncthingtray-minimal = { };
14
15    nmt.script = ''
16      assertFileExists home-files/.config/systemd/user/syncthingtray.service
17    '';
18  };
19}