Remove syncthingtray

This commit is contained in:
SebastianStork 2024-05-02 20:13:53 +02:00
parent 8730e3a2ee
commit 79e7f10534
3 changed files with 0 additions and 32 deletions

View file

@ -3,7 +3,6 @@
./hyprland
./theme.nix
./rofi
./tray.nix
./waybar.nix
./hypridlelock.nix
];

View file

@ -1,30 +0,0 @@
{
config,
pkgs,
lib,
...
}: let
cfg = config.myConfig.de;
in {
options.myConfig.de.tray.syncthing.enable = lib.mkEnableOption "";
config = lib.mkIf cfg.tray.syncthing.enable {
home.packages = [pkgs.syncthingtray-minimal];
systemd.user.services = {
syncthingtray = {
Unit = {
Description = "Syncthingtray";
Requires = ["tray.target"];
After = [
"graphical-session-pre.target"
"tray.target"
];
PartOf = ["graphical-session.target"];
};
Service.ExecStart = "${lib.getExe' pkgs.syncthingtray-minimal "syncthingtray"} --wait";
Install.WantedBy = ["graphical-session.target"];
};
};
};
}