syncthing service: fix invalid conflict resolution

This commit is contained in:
Nikolay Amiantov 2016-04-14 17:38:25 +03:00
parent 37d641ff3d
commit c9f2753c7b

View File

@ -113,22 +113,6 @@ in
config.ids.gids.syncthing;
};
systemd.services.syncthing =
{
description = "Syncthing service";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
environment = {
STNORESTART = "yes"; # do not self-restart
STNOUPGRADE = "yes";
inherit (cfg) all_proxy;
} // config.networking.proxy.envVars;
serviceConfig = {
User = cfg.user;
Group = cfg.group;
};
environment.systemPackages = [ cfg.package ];
systemd.services = mkIf cfg.systemService {