diff options
author | anderspapitto <anderspapitto@gmail.com> | 2016-05-30 01:14:19 -0700 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-05-30 10:14:19 +0200 |
commit | dd2bb96dbe44a98f247bdd4a2effebe6560522b7 (patch) | |
tree | 070ec105541624a4e5e25d6dde6689169bca9cef /nixos/modules | |
parent | 972c438c03f046bddffea2a2ae349aaf6e652277 (diff) |
syncthing service: respect cfg.package (#15810)
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/syncthing.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix index 514c17c6e5d27..ef05e71ce0761 100644 --- a/nixos/modules/services/networking/syncthing.nix +++ b/nixos/modules/services/networking/syncthing.nix @@ -121,7 +121,7 @@ in User = cfg.user; Group = cfg.group; PermissionsStartOnly = true; - ExecStart = "${pkgs.syncthing}/bin/syncthing -no-browser -home=${cfg.dataDir}"; + ExecStart = "${cfg.package}/bin/syncthing -no-browser -home=${cfg.dataDir}"; }; }; }; @@ -129,7 +129,7 @@ in systemd.user.services = { syncthing = header // { serviceConfig = service // { - ExecStart = "${pkgs.syncthing}/bin/syncthing -no-browser"; + ExecStart = "${cfg.package}/bin/syncthing -no-browser"; }; }; }; |