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

index fa0082b..e25282e 100644 --- a/modules/software-templates/dotnet.client.nix +++ b/modules/software-templates/dotnet.client.nix
@@ -1,9 +1,14 @@ -{ 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" ]) + (stablePkgs.jetbrains.plugins.addPlugins stablePkgs.jetbrains.rider [ "github-copilot" ]) ]; }