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

index fa0082b..f855aa3 100644 --- a/modules/software-templates/dotnet.client.nix +++ b/modules/software-templates/dotnet.client.nix
@@ -1,9 +1,26 @@ -{ pkgs, ... }: +{ + config, + pkgs, + nixpkgs-stable, + ... +}: +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 [ "github-copilot" ]) + (jetbrains.plugins.addPlugins jetbrains.rider [ + jetbrains.plugins.github-copilot-fixed + #"github-copilot" + "nixidea" + ]) ]; }