Skip to content

Commit b408d49

Browse files
kiria-moekhaneliman
authored andcommitted
syncthing: fix the application of allProxy
`systemd.user.services.<name>.Service.Environment` should be of type `(list of string) or string convertible to it`
1 parent e97a9fd commit b408d49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/services/syncthing.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ in
853853
3
854854
4
855855
];
856-
Environment = lib.mkIf (cfg.allProxy != null) { all_proxy = cfg.allProxy; };
856+
Environment = lib.mkIf (cfg.allProxy != null) "all_proxy=${cfg.allProxy}";
857857

858858
# Sandboxing.
859859
LockPersonality = true;

0 commit comments

Comments
 (0)