Skip to content

Commit

Permalink
nixos/gnunet: set private TMPDIR (#34945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lassulus authored and joachifm committed Feb 14, 2018
1 parent d2f0494 commit 8acde7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/services/networking/gnunet.nix
Expand Up @@ -137,6 +137,8 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.gnunet pkgs.miniupnpc ];
environment.TMPDIR = "/tmp";
serviceConfig.PrivateTemp = true;
serviceConfig.ExecStart = "${pkgs.gnunet}/lib/gnunet/libexec/gnunet-service-arm -c ${configFile}";
serviceConfig.User = "gnunet";
serviceConfig.UMask = "0007";
Expand Down

0 comments on commit 8acde7b

Please sign in to comment.