1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 17:19:45 +01:00
home-manager/tests/modules/services/syncthing/tray.nix
2021-06-23 00:37:25 +02:00

21 lines
407 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
services.syncthing.tray.enable = true;
nixpkgs.overlays = [
(self: super: {
syncthingtray-minimal =
pkgs.runCommandLocal "syncthingtray" { pname = "syncthingtray"; }
"mkdir $out";
})
];
nmt.script = ''
assertFileExists home-files/.config/systemd/user/syncthingtray.service
'';
};
}