Syncthing: Disable tray.
This commit is contained in:
parent
053fa4f45f
commit
7aaf1f8cc5
|
@ -4,6 +4,5 @@
|
||||||
exec waybar
|
exec waybar
|
||||||
exec nm-applet
|
exec nm-applet
|
||||||
exec blueman-applet
|
exec blueman-applet
|
||||||
exec syncthingtray
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,10 +7,7 @@
|
||||||
cfg = config.module.syncthing;
|
cfg = config.module.syncthing;
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [ syncthing ];
|
||||||
syncthing
|
|
||||||
syncthingtray
|
|
||||||
];
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
inherit (cfg) enable dataDir user group openDefaultPorts;
|
inherit (cfg) enable dataDir user group openDefaultPorts;
|
||||||
systemService = true;
|
systemService = true;
|
||||||
|
|
Loading…
Reference in a new issue