fork/home-manager

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

midchildansyncthing: add Darwin support885a504f

master
407 B21 linesraw
1{ config, lib, pkgs, ... }:
2
3with lib;
4
5{
6  config = {
7    services.syncthing.tray.enable = true;
8
9    nixpkgs.overlays = [
10      (self: super: {
11        syncthingtray-minimal =
12          pkgs.runCommandLocal "syncthingtray" { pname = "syncthingtray"; }
13          "mkdir $out";
14      })
15    ];
16
17    nmt.script = ''
18      assertFileExists home-files/.config/systemd/user/syncthingtray.service
19    '';
20  };
21}