diff options
Diffstat (limited to '')
-rw-r--r-- | modules/software-templates/dotnet.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/software-templates/dotnet.nix b/modules/software-templates/dotnet.nix index 3f52ce7..8a8c1b5 100644 --- a/modules/software-templates/dotnet.nix +++ b/modules/software-templates/dotnet.nix @@ -4,4 +4,8 @@ environment.systemPackages = with pkgs; [ (callPackage ../packages/dotnet-pack.nix { inherit pkgs; }) ]; -} \ No newline at end of file + environment.sessionVariables = { + DOTNET_CLI_TELEMETRY_OPTOUT = "1"; + DOTNET_ROOT = "${(callPackage ../packages/dotnet-pack.nix { inherit pkgs; })}"; + }; +}e \ No newline at end of file |