syncthing service: fix invalid conflict resolution
This commit is contained in:
parent
37d641ff3d
commit
c9f2753c7b
@ -113,22 +113,6 @@ in
|
|||||||
config.ids.gids.syncthing;
|
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 ];
|
environment.systemPackages = [ cfg.package ];
|
||||||
|
|
||||||
systemd.services = mkIf cfg.systemService {
|
systemd.services = mkIf cfg.systemService {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user