summary refs log tree commit diff
path: root/modules/software-templates/devenv/dotnet.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/software-templates/devenv/dotnet.nix')
-rw-r--r--modules/software-templates/devenv/dotnet.nix23
1 files changed, 5 insertions, 18 deletions
diff --git a/modules/software-templates/devenv/dotnet.nix b/modules/software-templates/devenv/dotnet.nix

index 8e1ee0c..b819743 100644 --- a/modules/software-templates/devenv/dotnet.nix +++ b/modules/software-templates/devenv/dotnet.nix
@@ -1,27 +1,14 @@ -{ - config, - pkgs, - nixpkgs-stable, - ... -}: +{ pkgs, ... }: -let - # We have to specify config to set allowUnfree, as nixpkgs-stable.legacyPackages doesn't pass through config. - # See: https://slab.midna.dev/public/posts/where-does-pkgs-come-from-xw6epo0t - #stablePkgs = import nixpkgs-stable { - # config = config.nixpkgs.config; - # system = pkgs.stdenv.hostPlatform.system; - #}; -in { - #imports = [ ./dotnet.nix ]; environment.systemPackages = with pkgs; [ - #`jetbrains.rider (jetbrains.plugins.addPlugins jetbrains.rider [ -# jetbrains.plugins.github-copilot-fixed - "github-copilot" + "17718" # github-copilot "nixidea" ]) dotnetCorePackages.sdk_10_0 ]; + environment.sessionVariables = { + DOTNET_CLI_TELEMETRY_OPTOUT = "1"; + }; }