mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 02:23:16 +00:00
21 lines
407 B
Nix
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
|
|
'';
|
|
};
|
|
}
|