From ae4db4e60013db1d9a06126fa9e626bc0965fb5c Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 4 Dec 2024 08:13:07 +0100 Subject: Add Lix, fix desktop, fix Rider --- modules/software-templates/dotnet.client.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules') 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" ]) ]; } -- cgit 1.5.1